From c58a1721b7146a518b820e84d98aa630f8ece13f Mon Sep 17 00:00:00 2001 From: Nick Adcock Date: Tue, 10 Dec 2019 16:43:34 +0000 Subject: [PATCH] Remove poll-breaking assertion in e2e test Removed assertion of local-in-docker command result when running e2e tests in swarm. This function is only used by the compatibility tests which does it's own assertion in a poll. The removed assertion was breaking the poll flow stopping the test from being able to retry. Signed-off-by: Nick Adcock --- e2e/helper_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/e2e/helper_test.go b/e2e/helper_test.go index ee1cb93d8..9127fee37 100644 --- a/e2e/helper_test.go +++ b/e2e/helper_test.go @@ -62,7 +62,6 @@ func runWithDindSwarmAndRegistry(t *testing.T, todo func(dindSwarmAndRegistryInf } cmd := icmd.Command(params[0], params[1:]...) result := icmd.RunCmd(cmd) - result.Assert(t, icmd.Success) return result.Combined() } // Func to execute docker cli commands