Skip to content

Commit

Permalink
Revert "Merge pull request dotnet#33800 from sharwell/script-cleanup"
Browse files Browse the repository at this point in the history
This reverts commit 726c2bc, reversing
changes made to f51b549.
  • Loading branch information
sharwell committed Mar 2, 2019
1 parent 726c2bc commit 76fd803
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/build.ps1
Expand Up @@ -525,22 +525,22 @@ try {
if ($quserItems[1] -eq 'console') {
Write-Host "Disconnecting from console before attempting reconnection"
try {
Exec-Command tsdiscon
tsdiscon
} catch {
# ignore
}

# Disconnection is asynchronous, so wait a few seconds for it to complete
Start-Sleep -Seconds 3
Exec-Command query user
query user
}

Write-Host "tscon $sessionid /dest:console"
Exec-Command tscon $sessionid /dest:console
tscon $sessionid /dest:console

# Connection is asynchronous, so wait a few seconds for it to complete
Start-Sleep 3
Exec-Command query user
query user

# Make sure we can capture a screenshot. An exception at this point will fail-fast the build.
Capture-Screenshot $screenshotPath
Expand Down

0 comments on commit 76fd803

Please sign in to comment.