Sfoglia il codice sorgente

chore: Increase polling timeout for publish & install smoke tests

Prevents unnecessary failure when the CI server is being especially slow.
Michael Bromley 5 anni fa
parent
commit
001f4e8470
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      .github/workflows/scripts/smoke-tests.js

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

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