mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
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:
commit
5af069b727
@ -66,6 +66,7 @@ func GetGroupNodes(group string) ([]string, error) {
|
|||||||
"list-instances", group, "--project="+TestContext.CloudConfig.ProjectID,
|
"list-instances", group, "--project="+TestContext.CloudConfig.ProjectID,
|
||||||
"--zone="+TestContext.CloudConfig.Zone).CombinedOutput()
|
"--zone="+TestContext.CloudConfig.Zone).CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Logf("Failed to get nodes in instance group: %v", string(output))
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
re := regexp.MustCompile(".*RUNNING")
|
re := regexp.MustCompile(".*RUNNING")
|
||||||
|
Loading…
Reference in New Issue
Block a user