Description
Flakiness Type
Other / Unknown
Name of Job
Node (21) Unit Tests
Name of Test
test/transports/https.test.ts
Link to Test Run
https://github.com/getsentry/sentry-javascript/actions/runs/8288012864/job/22681741836?pr=11109
Details
FAIL test/transports/https.test.ts (6.496 s)
● makeNewHttpsTransport() › .send() › should correctly send envelope to server
listen EADDRINUSE: address already in use :::8099
56 | });
57 |
> 58 | testServer.listen(8099);
| ^
59 |
60 | return new Promise(resolve => {
61 | testServer?.on('listening', resolve);
at setupTestServer (test/transports/https.test.ts:58:14)
at Object.<anonymous> (test/transports/https.test.ts:98:13)
● makeNewHttpsTransport() › .send() › should correctly send envelope to server
thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
95 |
96 | describe('.send()', () => {
> 97 | it('should correctly send envelope to server', async () => {
| ^
98 | await setupTestServer({ statusCode: SUCCESS }, (req, body) => {
99 | expect(req.method).toBe('POST');
100 | expect(body).toBe(SERIALIZED_EVENT_ENVELOPE);
at test/transports/https.test.ts:97:5
at test/transports/https.test.ts:96:3
at Object.<anonymous> (test/transports/https.test.ts:87:1)