Преглед изворни кода

chore: Increase polling timeout for publish & install smoke tests

Prevents unnecessary failure when the CI server is being especially slow.
Michael Bromley пре 5 година
родитељ
комит
001f4e8470
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/scripts/smoke-tests.js

+ 1 - 1
.github/workflows/scripts/smoke-tests.js

@@ -34,7 +34,7 @@ function awaitServerStartup() {
             attempts++;
             if (attempts < 30) {
                 console.log('Server not yet available, waiting 1s...');
-                setTimeout(poll, 1000);
+                setTimeout(poll, 2000);
             } else {
                 reject('Unable to establish connection to Vendure server!');
             }