From ef1461a8723cc882079e5141af3e0c011a67a7f0 Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Mon, 19 Mar 2018 10:55:50 -0400 Subject: [PATCH] Add the missing call to setupTest to TestNetworkLoopbackNat test function, to avoid leaving behind test containers Signed-off-by: Arash Deshmeh Upstream-commit: a0052b8f190f38bcdd24e4bf794c3ad6d2fd1b41 Component: engine --- components/engine/integration/container/nat_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/engine/integration/container/nat_test.go b/components/engine/integration/container/nat_test.go index 5574db779e..f4a3ea6f3a 100644 --- a/components/engine/integration/container/nat_test.go +++ b/components/engine/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)