Skip to content

Unstable tests #58

@f1ames

Description

@f1ames

I have noticed recently that CI is being unstable and some tests are failing from time to time. It seems to be the case of pipe tests mostly:

  streams › data › native-interface › Piped DataStream can be unpiped via '.unpipe(instance)' #2

  build/test/unit/streams/data/native-interface.spec.js:109

   108:             await stream.end();                                
   109:             t.deepEqual(await stream.toArray(), ["fo", "o\n"]);
   110:             resolve();                                         

  Difference:

    [
      'fo',
  +   `o␊
  +   `,
    ]

  › ReadStream.<anonymous> (build/test/unit/streams/data/native-interface.spec.js:109:15)



  streams › data › native-interface › Piped DataStream can be unpiped via '.unpipe()' #2

  build/test/unit/streams/data/native-interface.spec.js:145

   144:             await stream.end();                                
   145:             t.deepEqual(await stream.toArray(), ["fo", "o\n"]);
   146:             resolve();                                         

  Difference:

    [
      'fo',
  +   `o␊
  +   `,
    ]

  › ReadStream.<anonymous> (build/test/unit/streams/data/native-interface.spec.js:145:15)

  ─

  2 tests failed
  5 tests skipped

This may mean there is some issue with how it works internally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions