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 5cd1d19cc8
commit c359ba44a5

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",