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> Upstream-commit: a0052b8f190f38bcdd24e4bf794c3ad6d2fd1b41 Component: engine
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user