File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/SignalR/common/Http.Connections/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1203,7 +1203,7 @@ public async Task BlockingConnectionWorksWithLongPollingConnection()
1203
1203
}
1204
1204
1205
1205
[ Fact ]
1206
- public async Task AttemptingToPollWhileAlreadyPollingResultsIn409Response ( )
1206
+ public async Task AttemptingToPollWhileAlreadyPollingReplacesTheCurrentPoll ( )
1207
1207
{
1208
1208
using ( StartVerifiableLog ( ) )
1209
1209
{
@@ -1239,8 +1239,8 @@ public async Task AttemptingToPollWhileAlreadyPollingResultsIn409Response()
1239
1239
// Verify the results
1240
1240
Assert . Equal ( StatusCodes . Status204NoContent , context1 . Response . StatusCode ) ;
1241
1241
Assert . Equal ( string . Empty , GetContentAsString ( context1 . Response . Body ) ) ;
1242
- Assert . Equal ( StatusCodes . Status409Conflict , context2 . Response . StatusCode ) ;
1243
- Assert . Equal ( string . Empty , GetContentAsString ( context2 . Response . Body ) ) ;
1242
+ Assert . Equal ( StatusCodes . Status200OK , context2 . Response . StatusCode ) ;
1243
+ Assert . Equal ( "Hello, World" , GetContentAsString ( context2 . Response . Body ) ) ;
1244
1244
}
1245
1245
}
1246
1246
You can’t perform that action at this time.
0 commit comments