jbergstroem / mariadb-alpine

A tiny and fast MariaDB container
MIT License
72 stars 19 forks source link

Parallel tests #46

Closed jbergstroem closed 4 years ago

jbergstroem commented 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.

Edit: this cuts about 60% running time on my laptop with 4 cores.

jbergstroem commented 4 years ago

Looks like bats 1.2.x is not in npm just yet which means we either switch how its installed or wait for upstream.

Refs: https://github.com/bats-core/bats-core/issues/266