Browse code

Add the missing call to setupTest to TestNetworkLoopbackNat test function, to avoid leaving behind test containers

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>

Arash Deshmeh authored on 2018/03/19 23:55:50
Showing 1 changed files
... ...
@@ -59,6 +59,8 @@ func TestNetworkLocalhostTCPNat(t *testing.T) {
59 59
 func TestNetworkLoopbackNat(t *testing.T) {
60 60
 	skip.If(t, testEnv.IsRemoteDaemon())
61 61
 
62
+	defer setupTest(t)()
63
+
62 64
 	msg := "it works"
63 65
 	startServerContainer(t, msg, 8080)
64 66