File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/Servers/IIS/IntegrationTesting.IIS/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
"localRerunCount" : 3 ,
5
5
"retryOnRules" : [
6
6
{"testName" : {"contains" : " AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess" }},
7
+ {"testName" : {"contains" : " AppOfflineDroppedWhileSiteIsDown_SiteReturns503_InProcess" }},
7
8
{"testName" : {"contains" : " CheckFrebDisconnect" }},
8
9
{"testName" : {"contains" : " CheckStdoutWithLargeWrites" }},
9
10
{"testName" : {"contains" : " ServerShutsDownWhenMainExitsStress" }},
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ private void WaitUntilSiteStarted(string contentRoot)
264
264
var workerProcess = appPool . WorkerProcesses . SingleOrDefault ( ) ;
265
265
if ( workerProcess == null )
266
266
{
267
- throw new InvalidOperationException ( "Site is started but no worked process found" ) ;
267
+ throw new InvalidOperationException ( "Site is started but no worker process found" ) ;
268
268
}
269
269
270
270
HostProcess = Process . GetProcessById ( workerProcess . ProcessId ) ;
@@ -413,7 +413,7 @@ private void Stop()
413
413
}
414
414
}
415
415
416
- if ( ! HostProcess . HasExited )
416
+ if ( HostProcess is not null && ! HostProcess . HasExited )
417
417
{
418
418
throw new InvalidOperationException ( "Site is stopped but host process is not" ) ;
419
419
}
You can’t perform that action at this time.
0 commit comments