Procházet zdrojové kódy

chore: Increase polling timeout for publish & install smoke tests

Prevents unnecessary failure when the CI server is being especially slow.
Michael Bromley před 5 roky
rodič
revize
001f4e8470
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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!');
             }