瀏覽代碼

Merge pull request #766 from docker/debug_aci_db_error

Add debug information when mysql cannot start on ACI E2E test
Guillaume Tardif 5 年之前
父節點
當前提交
b1382c9dc3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/aci-e2e/e2e-aci_test.go

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

@@ -810,7 +810,7 @@ func TestRunEnvVars(t *testing.T) {
 			if strings.Contains(res.Stdout(), "Giving user user1 access to schema mytestdb") {
 				return poll.Success()
 			}
-			return poll.Continue("waiting for DB container to be up")
+			return poll.Continue("waiting for DB container to be up\n%s", res.Combined())
 		}
 		poll.WaitOn(t, check, poll.WithDelay(5*time.Second), poll.WithTimeout(90*time.Second))
 	})