Skip to content

Commit 04606fb

Browse files
authored
chore: make structured logs tests less flaky (#33823)
1 parent 01eeffe commit 04606fb

File tree

1 file changed

+2
-4
lines changed
  • integration-tests/structured-logging/__tests__

1 file changed

+2
-4
lines changed

integration-tests/structured-logging/__tests__/to-do.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,8 @@ describe(`develop`, () => {
315315
collectEventsForDevelop(events)
316316

317317
startedPromise.then(() => {
318-
setTimeout(() => {
319-
gatsbyProcess.kill(`SIGTERM`)
320-
waitChildProcessExit(gatsbyProcess.pid, done, done.fail)
321-
}, 5000)
318+
gatsbyProcess.kill(`SIGTERM`)
319+
waitChildProcessExit(gatsbyProcess.pid, done, done.fail)
322320
})
323321
})
324322

0 commit comments

Comments
 (0)