Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test itermittently timed out #962

Open
reefdog opened this issue Apr 25, 2024 · 2 comments
Open

Test itermittently timed out #962

reefdog opened this issue Apr 25, 2024 · 2 comments

Comments

@reefdog
Copy link
Contributor

reefdog commented Apr 25, 2024

I just had a test fail due to a timeout issue. I'm putting the info here, although I'm not sure if it's actually related. (Running tests again, it succeeded.)

 FAIL  src/database/operations/load/__test__/loadBundle.int.test.ts (5.419 s)
  ● loadBundle › Should return a bundle for the query

    thrown: "Exceeded timeout of 5000 ms for a hook.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

      27 | });
      28 |
    > 29 | beforeEach(async () => {
         | ^
      30 | 	mockJwks.start();
      31 | 	await prepareDatabaseForCurrentWorker();
      32 | 	await createTestUser();

      at Object.<anonymous> (src/test/integrationSuiteSetup.ts:29:1)

Originally posted by @reefdog in #610 (comment)

@slifty
Copy link
Member

slifty commented Apr 25, 2024

I've noticed this happen a few times as well.

It might be related to #910 somehow.

@reefdog
Copy link
Contributor Author

reefdog commented Apr 25, 2024

Ah okay I'll post about it in there too then. :pleased:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants