浏览代码

ACI e2e required change, because the output includes the progress info.

Guillaume Tardif 5 年之前
父节点
当前提交
76a1753396
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/aci-e2e/e2e-aci_test.go

+ 1 - 1
tests/aci-e2e/e2e-aci_test.go

@@ -99,7 +99,7 @@ func (s *E2eACISuite) TestACIBackend() {
 				testStorageAccountName, firstKey, testShareName, mountTarget),
 			"-p", "80:80",
 			"--name", testContainerName).ExecOrDie()
-		Expect(output).To(Equal(testContainerName + "\n"))
+		Expect(output).To(ContainSubstring(testContainerName))
 		output = s.NewDockerCommand("ps").ExecOrDie()
 		lines := Lines(output)
 		Expect(len(lines)).To(Equal(2))