Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Remove obsolete WebListener test scenario #138

Merged
merged 1 commit into from
Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions test/AutobahnTestApp/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ public class Startup
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
if (!env.IsEnvironment("NativeSockets"))
{
// Register a middleware that disables the server-provided WebSockets feature
app.Use((context, next) =>
{
context.Features.Set<IHttpWebSocketFeature>(null);
return next();
});
}
app.UseWebSockets();

app.Use(async (context, next) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ await tester.DeployTestAndAddToSpec(ServerType.WebListener, ssl: false, environm
}
}

// REQUIRES a build of WebListener that supports native WebSockets, which we don't have right now
//await tester.DeployTestAndAddToSpec(ServerType.WebListener, ssl: false, environment: "NativeSockets");

result = await tester.Run(cts.Token);
tester.Verify(result);
}
Expand Down