Skip to content

Commit

Permalink
Increase app startup wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb authored and Dnouv committed Nov 3, 2022
1 parent b70060b commit 576e437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ jobs:
script: |
const http = require('http');
const {readFileSync} = require('fs');
core.info('waiting 10 seconds for app to start ..');
await new Promise(zzz => setTimeout(zzz, 10 * 1000));
core.info('waiting 1 minute for app to start ..');
await new Promise(zzz => setTimeout(zzz, 60 * 1000));
http
.request(`http://localhost:${process.env.PORT}`, { method: 'GET' }, r => {
if (r.statusCode === 200)
Expand Down

0 comments on commit 576e437

Please sign in to comment.