فهرست منبع

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 7 سال پیش
والد
کامیت
a0052b8f19
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      integration/container/nat_test.go

+ 2 - 0
integration/container/nat_test.go

@@ -59,6 +59,8 @@ func TestNetworkLocalhostTCPNat(t *testing.T) {
 func TestNetworkLoopbackNat(t *testing.T) {
 	skip.If(t, testEnv.IsRemoteDaemon())
 
+	defer setupTest(t)()
+
 	msg := "it works"
 	startServerContainer(t, msg, 8080)