Commit 2ac3c32
committed
ci(run-tests): improve old DB container cleanup (#678)
Replace `docker stop` with `docker rm -f` when cleaning the old
Postgres test container. Stopping a `--rm` container triggers
asynchronous removal, so on faster machines the next `docker
run --rm` could fire before the old container was gone, leading
to a name conflict. `docker rm -f` stops and removes
synchronously, so the subsequent `docker run` always succeeds.1 parent dc8bb22 commit 2ac3c32
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments