We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037bcdd commit 3f0d108Copy full SHA for 3f0d108
test/Scripts.Integration.Test/run-smoke-test.ps1
@@ -117,8 +117,9 @@ function RunTest([string] $type)
117
Write-Host "$type test: Player.log contents END" -ForegroundColor Yellow
118
}
119
120
- # ExitCode 200 is the status code indicating success inside SmokeTest.cs
121
- If ($process.ExitCode -eq 200)
+ # Relying on ExitCode does not seem reliable. We're looking for the line "SmokeTester is quitting." instead to indicate
+ # a successful shut-down.
122
+ If ($appLog | Select-String "SmokeTester is quitting.")
123
{
124
Write-Host "$type test: PASSED" -ForegroundColor Green
125
0 commit comments