Skip to content

Commit ca59fcf

Browse files
committed
fix(tests): use docker run --rm instead of explicitly removing containers
1 parent fbc483d commit ca59fcf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/controllerComponent_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ func runDeisControllerTest(t *testing.T, testSessionUID string, etcdPort string,
2121
done <- true
2222
go func() {
2323
<-done
24-
dockercliutils.RunContainer(t, cli, "--name",
25-
"deis-controller-"+testSessionUID,
24+
dockercliutils.RunContainer(t, cli,
25+
"--name", "deis-controller-"+testSessionUID,
26+
"--rm",
2627
"-p", servicePort+":8000",
2728
"-e", "PUBLISH="+servicePort,
2829
"-e", "HOST="+IPAddress,

0 commit comments

Comments
 (0)