From c359ba44a5a2c356ba2c7565c818b2c41327659b Mon Sep 17 00:00:00 2001 From: Lasse Dalegaard Date: Tue, 26 Sep 2017 23:10:24 +0200 Subject: [PATCH] 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. --- client/driver/rkt_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client/driver/rkt_test.go b/client/driver/rkt_test.go index d6e40c4d2..c655377a4 100644 --- a/client/driver/rkt_test.go +++ b/client/driver/rkt_test.go @@ -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",