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

race condition in test: GET /scenes/:scene/:filename(.*) #44

Open
sdumetz opened this issue Oct 22, 2023 · 2 comments
Open

race condition in test: GET /scenes/:scene/:filename(.*) #44

sdumetz opened this issue Oct 22, 2023 · 2 comments

Comments

@sdumetz
Copy link
Member

sdumetz commented Oct 22, 2023

Log:

 1) GET /scenes/:scene/:filename(.*)
       can abort responses:
     AssertionError: expected promise to be rejected with an error matching /socket hang up/ but it was fulfilled with { Object (_events, _eventsCount, ...) }
  

  2) GET /scenes/:scene/:filename(.*)
       "after each" hook for "can abort responses":
     Uncaught Error: aborted
      at connResetException (node:internal/errors:720:14)
      at Socket.socketCloseListener (node:_http_client:455:19)
      at Socket.emit (node:events:526:35)
      at TCP.<anonymous> (node:net:337:12)

  3) GET /scenes/:scene/:filename(.*)
       "after each" hook for "can abort responses":
     Error: done() called multiple times in hook <GET /scenes/:scene/:filename(.*) "after each" hook for "can abort responses"> of file /Users/sebastien/repositories/eCorpus/source/server/routes/scenes/get/file.test.ts
@sdumetz
Copy link
Member Author

sdumetz commented Oct 22, 2023

Seems to happen when TEST=0 is set in particular.

@sdumetz
Copy link
Member Author

sdumetz commented Jun 12, 2024

Test disabled in 92a1c12 but still present

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

1 participant