Skip to content

Commit deb1a3c

Browse files
wait for stop before log assert
1 parent e4d8e37 commit deb1a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/IIS/IIS/test/IISExpress.FunctionalTests/InProcess/AppOfflineIISExpressTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public async Task AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess()
5656
{
5757
// For IISExpress, we need to catch the exception because IISExpress will not restart a process if it crashed.
5858
// RemoveAppOffline will fail due to a bad request exception as the server is down.
59-
Assert.Contains(TestSink.Writes, context => context.Message.Contains("Drained all requests, notifying managed."));
6059
deploymentResult.AssertWorkerProcessStop();
60+
Assert.Contains(TestSink.Writes, context => context.Message.Contains("Drained all requests, notifying managed."));
6161
return;
6262
}
6363
}

0 commit comments

Comments
 (0)