Commit 0da7fca
authored
Fix apparent race condition in test, observed in docker-machine on Mac (#459)
Fix apparent race condition in test, observed in docker-machine on Mac
Startup success detection appeared to be seeing container as having exited already
For the purposes of this test, all we need is a positive `isRunning` state, so
a container long running command (`top`) is sufficient to achieve this1 parent 5ccb305 commit 0da7fca
File tree
1 file changed
+1
-1
lines changed- core/src/test/java/org/testcontainers/junit
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments