Skip to content

Commit e9171db

Browse files
authored
Add retries and avoid Appium Doctor on Linux (#28845)
1 parent 87f8b92 commit e9171db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/pipelines/common/ui-tests-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ steps:
108108
displayName: "Install node"
109109

110110
- pwsh: |
111-
$skipAppiumDoctor = if ($IsMacOS) { "true" } else { "false" }
111+
$skipAppiumDoctor = if ($IsMacOS -or $IsLinux) { "true" } else { "false" }
112112
dotnet build ./src/Provisioning/Provisioning.csproj -t:ProvisionAppium -p:SkipAppiumDoctor="$skipAppiumDoctor" -bl:"$(LogDirectory)/provision-appium.binlog"
113113
displayName: "Install Appium"
114114
continueOnError: false
115-
retryCountOnTaskFailure: 1
115+
retryCountOnTaskFailure: 2
116116
timeoutInMinutes: 10
117117
env:
118118
APPIUM_HOME: $(APPIUM_HOME)

0 commit comments

Comments
 (0)