Skip to content

Commit 125b6fc

Browse files
committed
Increase wait on flaky ssr test
1 parent 7faefcc commit 125b6fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

integration-tests/ssr/__tests__/ssr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe(`SSR`, () => {
3333
expect(String(childProcess.stdout)).toContain(
3434
`testing these paths for differences between dev & prod outputs`
3535
)
36-
}, 30000)
36+
}, 60000)
3737

3838
test(`it generates an error page correctly`, async () => {
3939
const src = path.join(__dirname, `/fixtures/bad-page.js`)

integration-tests/ssr/test-output.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ async function run() {
4747
// Fetch once to trigger re-compilation.
4848
await fetch(`${devSiteBasePath}/${path}`)
4949

50-
// Then wait for a second to ensure it's ready to go.
50+
// Then wait to ensure it's ready to go.
5151
// Otherwise, tests are flaky depending on the speed of the testing machine.
5252
await new Promise(resolve => {
53-
setTimeout(() => resolve(), 1000)
53+
setTimeout(() => resolve(), 3000)
5454
})
5555

5656
let devStatus = 200

0 commit comments

Comments
 (0)