Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: build continuosly if needed

Andrey Lushnikovd756f616f576
diff --git a/browser_patches/buildbots/buildbot-windows.sh b/browser_patches/buildbots/buildbot-windows.sh
index 4a417cba7a..ce82a6cfda 100755
--- a/browser_patches/buildbots/buildbot-windows.sh
+++ b/browser_patches/buildbots/buildbot-windows.sh
@@ -32,6 +32,7 @@ fi
iteration=0
while true; do
+ timestamp=$(date +%s)
iteration=$(( iteration + 1 ))
echo "== ITERATION ${iteration} =="
git pull origin master
@@ -39,5 +40,9 @@ while true; do
git pull origin master
../checkout_build_archive_upload.sh firefox --win64
echo "------ Sleeping for 300 seconds before next turn... ------"
- sleep 300
+ newTimestamp=$(date +%s)
+ delta=$(( 300 - newTimestamp + timestamp ));
+ if (( delta > 0 )); then
+ sleep detla;
+ fi
done;