Skip to content

Commit ea6cb63

Browse files
Start interactive PSHost task explicitly
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a361477 commit ea6cb63

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

testing/release-smoke/Invoke-ReleaseSmokeTest.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ try {
123123
}
124124

125125
if (Test-ShouldRunStage -Stage 'remoting-server') {
126+
Write-Host '::group::Start interactive PSHostServer task'
127+
Start-ScheduledTask -TaskName $taskName
128+
Start-Sleep -Seconds 5
129+
Get-ScheduledTask -TaskName $taskName | Get-ScheduledTaskInfo | Format-List | Out-String | Write-Host
130+
Write-Host '::endgroup::'
131+
126132
Write-Host '::group::Wait for interactive PSHostServer'
127133
& (Join-Path $scriptsRoot 'Start-InteractivePSHostServer.ps1') `
128134
-Wait `

0 commit comments

Comments
 (0)