framework-js icon indicating copy to clipboard operation
framework-js copied to clipboard

Unstable tests

Open f1ames opened this issue 3 years ago • 0 comments

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.

f1ames avatar Apr 21 '22 13:04 f1ames