Signed-off-by: Emily Maier <emily@emilymaier.net>
| ... | ... |
@@ -13,7 +13,7 @@ func TestStartAttachReturnsOnError(t *testing.T) {
|
| 13 | 13 |
defer deleteAllContainers() |
| 14 | 14 |
|
| 15 | 15 |
dockerCmd(t, "run", "-d", "--name", "test", "busybox") |
| 16 |
- dockerCmd(t, "stop", "test") |
|
| 16 |
+ dockerCmd(t, "wait", "test") |
|
| 17 | 17 |
|
| 18 | 18 |
// Expect this to fail because the above container is stopped, this is what we want |
| 19 | 19 |
if _, err := runCommand(exec.Command(dockerBinary, "run", "-d", "--name", "test2", "--link", "test:test", "busybox")); err == nil {
|