File tree 1 file changed +0
-34
lines changed
src/Servers/HttpSys/test/FunctionalTests
1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -147,40 +147,6 @@ public async Task Server_AppException_ClientReset()
147
147
}
148
148
}
149
149
150
- [ ConditionalFact ]
151
- [ Flaky ( "https://github.com/aspnet/AspNetCore-Internal/issues/2415" , FlakyOn . All ) ]
152
- public void Server_MultipleOutstandingSyncRequests_Success ( )
153
- {
154
- int requestLimit = 10 ;
155
- int requestCount = 0 ;
156
- TaskCompletionSource < object > tcs = new TaskCompletionSource < object > ( ) ;
157
-
158
- string address ;
159
- using ( Utilities . CreateHttpServer ( out address , httpContext =>
160
- {
161
- if ( Interlocked . Increment ( ref requestCount ) == requestLimit )
162
- {
163
- tcs . TrySetResult ( null ) ;
164
- }
165
- else
166
- {
167
- tcs . Task . Wait ( ) ;
168
- }
169
-
170
- return Task . FromResult ( 0 ) ;
171
- } ) )
172
- {
173
- List < Task > requestTasks = new List < Task > ( ) ;
174
- for ( int i = 0 ; i < requestLimit ; i ++ )
175
- {
176
- Task < string > requestTask = SendRequestAsync ( address ) ;
177
- requestTasks . Add ( requestTask ) ;
178
- }
179
-
180
- Assert . True ( Task . WaitAll ( requestTasks . ToArray ( ) , TimeSpan . FromSeconds ( 60 ) ) , "Timed out" ) ;
181
- }
182
- }
183
-
184
150
[ ConditionalFact ]
185
151
public void Server_MultipleOutstandingAsyncRequests_Success ( )
186
152
{
You can’t perform that action at this time.
0 commit comments