Skip to content

[Flaky CI]: makeNewHttpsTransport() › .send() › should correctly send envelope to server #11111

Description

@AbhiPrasad

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)

Activity

  1. lforst commented on Mar 15, 2024

    @lforst
    Contributor

    How sad that issue no 11111 is about a flake. Nothing spicy like a esm issue or Next.js breakage something like that :(

  2. lforst commented on Mar 15, 2024

    @lforst
    Contributor

    didn't work :(

  3. reopened this on Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions