Skip to content

Commit

Permalink
Add timezone change for windows runner
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Jun 22, 2024
1 parent 0252712 commit 34d037a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ if [ "$DISABLE_VIDEO" = "true" ]; then
mv -v cypress_new.json cypress.json
fi

if [ "$OSTYPE" = "msys" ] || [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "win32" ]; then
powershell -Command "Set-TimeZone -Id 'Pacific Standard Time' -PassThru"
fi

if [ "$SECURITY_ENABLED" = "true" ]
then
echo "run security enabled tests"
Expand Down

0 comments on commit 34d037a

Please sign in to comment.