Skip to content

Commit bd4c8b1

Browse files
[Ignore] Fix test hang by not using the Daily PowerShell build (#1334)
1 parent 13ea3db commit bd4c8b1

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.vsts-ci/templates/ci-general.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@ parameters:
22
pwsh: true
33

44
steps:
5-
- powershell: |
6-
Write-Host "Installing PowerShell Daily..."
5+
# TODO: Bring this back when we understand why it was causing E2E tests to hang.
6+
# Related issue: https://github.com/PowerShell/PowerShellEditorServices/issues/1335
7+
# - powershell: |
8+
# Write-Host "Installing PowerShell Daily..."
79

8-
# Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
9-
$powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
10-
Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1
10+
# # Use `AGENT_TEMPDIRECTORY` to make sure the downloaded PowerShell is cleaned up.
11+
# $powerShellPath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'powershell'
12+
# Invoke-WebRequest -Uri https://aka.ms/install-powershell.ps1 -OutFile ./install-powershell.ps1
1113

12-
./install-powershell.ps1 -Destination $powerShellPath -Daily
14+
# ./install-powershell.ps1 -Destination $powerShellPath -Daily
1315

14-
# Using `prependpath` to update the PATH just for this build.
15-
Write-Host "##vso[task.prependpath]$powerShellPath"
16-
displayName: Install PowerShell Daily
17-
continueOnError: true
16+
# # Using `prependpath` to update the PATH just for this build.
17+
# Write-Host "##vso[task.prependpath]$powerShellPath"
18+
# displayName: Install PowerShell Daily
19+
# continueOnError: true
1820

1921
- pwsh: '$PSVersionTable'
2022
displayName: Display PowerShell version information

0 commit comments

Comments
 (0)