Merge pull request #52413 from aleksandra-malinowska/autoscaling-tests-extra-logs-2
Automatic merge from submit-queue Add logging gcloud command error in e2e tests This adds extra log line to help with debugging GKE tests.
This commit is contained in:
@@ -66,6 +66,7 @@ func GetGroupNodes(group string) ([]string, error) {
|
||||
"list-instances", group, "--project="+TestContext.CloudConfig.ProjectID,
|
||||
"--zone="+TestContext.CloudConfig.Zone).CombinedOutput()
|
||||
if err != nil {
|
||||
Logf("Failed to get nodes in instance group: %v", string(output))
|
||||
return nil, err
|
||||
}
|
||||
re := regexp.MustCompile(".*RUNNING")
|
||||
|
Reference in New Issue
Block a user