Commit 95956d76 authored by Brendan Burns's avatar Brendan Burns

Merge pull request #14839 from caesarxuchao/14084-fix

Ref #14084, Print output when error occurs in e2e test "in Services should be able to create a functioning external load balancer with user-provided load balancer ip"
parents bd8ee1c4 998ac8a1
...@@ -36,6 +36,8 @@ func createGCEStaticIP(name string) (string, error) { ...@@ -36,6 +36,8 @@ func createGCEStaticIP(name string) (string, error) {
name, "--project", testContext.CloudConfig.ProjectID, name, "--project", testContext.CloudConfig.ProjectID,
"--region", "us-central1", "-q").CombinedOutput() "--region", "us-central1", "-q").CombinedOutput()
if err != nil { if err != nil {
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)
glog.Errorf("output: %s", output)
return "", err return "", err
} }
glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID) glog.Errorf("Creating static IP with name:%s in project: %s", name, testContext.CloudConfig.ProjectID)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment