diff options
author | neha-p6 <neha.pansare@progress.com> | 2022-10-28 13:32:48 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 13:32:48 +0530 |
commit | ea9ad74c535fa8faccb0598a9de7ec797b876656 (patch) | |
tree | 628b7dabb60f1d48955bd9650c6dc8a6941d58ed | |
parent | b8a114243ab84ebf7ed97b23fae59325d577e841 (diff) | |
download | chef-ea9ad74c535fa8faccb0598a9de7ec797b876656.tar.gz |
Fix error in activating ruby version 271 with uru in windows functional tests under verify pipeline (#13262)
Set timeout for functional tests under verify pipeline to 60 min as builds are getting timedout
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r-- | .expeditor/scripts/bk_win_functional.ps1 | 3 | ||||
-rw-r--r-- | .expeditor/verify.pipeline.yml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.expeditor/scripts/bk_win_functional.ps1 b/.expeditor/scripts/bk_win_functional.ps1 index 05f8e57248..d1030b1afa 100644 --- a/.expeditor/scripts/bk_win_functional.ps1 +++ b/.expeditor/scripts/bk_win_functional.ps1 @@ -15,7 +15,8 @@ $env:PATH = "C:\Program Files (x86)\Uru;" + $env:PATH Write-Output "Register Installed Ruby Version 2.7 With Uru" Start-Process "C:\Program Files (x86)\Uru\uru_rt.exe" -ArgumentList 'admin add C:\ruby27\bin' -Wait -uru 271 +# We removed patch version otherwise uru fails to activate ruby as with the latest ruby releases patch version keeps getting updated. +uru 27 if (-not $?) { throw "Can't Activate Ruby. Did Uru Registration Succeed?" } ruby -v if (-not $?) { throw "Can't run Ruby. Is it installed?" } diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 1c0afbfac8..a297acc873 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -7,7 +7,7 @@ expeditor: retry: automatic: limit: 1 - timeout_in_minutes: 45 + timeout_in_minutes: 60 steps: |