Make rkt port mapping test not exit immediately

The rkt port mapping test currently starts redis with --version, which
obviously makes redis exit again almost immediately. This means that the
container exists before the network status can be queried, and so the
test fails.
This commit is contained in:
Lasse Dalegaard 2017-09-26 23:10:24 +02:00
parent 3a6d065c8e
commit b43ec57c02
1 changed files with 0 additions and 1 deletions

View File

@ -449,7 +449,6 @@ func TestRktDriver_PortsMapping(t *testing.T) {
Driver: "rkt",
Config: map[string]interface{}{
"image": "docker://redis:latest",
"args": []string{"--version"},
"port_map": []map[string]string{
map[string]string{
"main": "6379-tcp",