Remove obsolete WebListener test scenario
This commit is contained in:
parent
3d62de4fe6
commit
7eabf5cf3a
|
|
@ -15,15 +15,6 @@ namespace AutobahnTestApp
|
|||
// 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) =>
|
||||
|
|
|
|||
|
|
@ -75,9 +75,6 @@ namespace Microsoft.AspNetCore.WebSockets.ConformanceTest
|
|||
}
|
||||
}
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue