From 0f4d766f197663ba3132afd8fbc489a0f6dcc6aa Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Fri, 21 Aug 2020 12:01:22 +0200 Subject: [PATCH] Revert "Add E2E test on deploying ACR images" This reverts commit 5cab129c10e01496f0c5bbafe7f6a85965edaae7. Signed-off-by: Guillaume Tardif --- tests/aci-e2e/e2e-aci_test.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/aci-e2e/e2e-aci_test.go b/tests/aci-e2e/e2e-aci_test.go index 0a34298cf..232c5a1f0 100644 --- a/tests/aci-e2e/e2e-aci_test.go +++ b/tests/aci-e2e/e2e-aci_test.go @@ -550,24 +550,6 @@ func TestRunEnvVars(t *testing.T) { }) } -func TestDeployACRImage(t *testing.T) { - c := NewParallelE2eCLI(t, binDir) - _, _ = setupTestResourceGroup(t, c, "runAcr") - - t.Run("run", func(t *testing.T) { - cmd := c.NewDockerCmd("run", "-d", "dockerregistrygta.azurecr.io/hello-aci") - res := icmd.RunCmd(cmd) - res.Assert(t, icmd.Success) - out := strings.Split(strings.TrimSpace(res.Stdout()), "\n") - container := strings.TrimSpace(out[len(out)-1]) - t.Logf("Container name: %q", container) - waitForStatus(t, c, container, "Terminated") - - res = c.RunDockerCmd("logs", container) - assert.Assert(t, strings.Contains(res.Stdout(), "Hello from Docker!")) - }) -} - func setupTestResourceGroup(t *testing.T, c *E2eCLI, tName string) (string, string) { startTime := strconv.Itoa(int(time.Now().Unix())) rg := "E2E-" + tName + "-" + startTime