Closed nionis closed 4 years ago
The problem happens because Jest is using parallel testing and the unit tests listen to specific ports instead of dynamically chosen ones.
Concurrent testing will therefore produce EADDRINUSE
errors.
@robertkiel feel free to re-enable CI tests in this workflow once fixed 👍
Tests are working again. Needed to run them --runInBand
and sequentionally through maxConcurrency: 1
Reenabled in #256
Describe the bug tests fail at least 75% of the time
To Reproduce Steps to reproduce the behavior:
yarn test
Expected behavior Tests should pass, if some of them are WIP they can be
skipped
, the end goal is to re-enablehopr-core
test suite in our CI.Additional context taken from riot:
To do
core
tests in workflow