Closed jbergstroem closed 4 years ago
Introduce running tests in parallel and improve running time while avoiding the default sleep period by tailing logs for ready state.
There is a slight discrepancy between docker logs and network being ready, but its small enough in our case to not really matter.
docker logs
Edit: this cuts about 60% running time on my laptop with 4 cores.
Looks like bats 1.2.x is not in npm just yet which means we either switch how its installed or wait for upstream.
1.2.x
npm
Refs: https://github.com/bats-core/bats-core/issues/266
Introduce running tests in parallel and improve running time while avoiding the default sleep period by tailing logs for ready state.
There is a slight discrepancy between
docker logs
and network being ready, but its small enough in our case to not really matter.Edit: this cuts about 60% running time on my laptop with 4 cores.