mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Log error before failing in autoscaling e2e
This commit is contained in:
parent
0597a85f51
commit
adc1d6a428
@ -458,7 +458,7 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
func execCmd(args ...string) *exec.Cmd {
|
func execCmd(args ...string) *exec.Cmd {
|
||||||
glog.Info("Executing: %s", strings.Join(args, " "))
|
glog.Infof("Executing: %s", strings.Join(args, " "))
|
||||||
return exec.Command(args[0], args[1:]...)
|
return exec.Command(args[0], args[1:]...)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -627,8 +627,8 @@ func addNodePool(name string, machineType string, numNodes int) {
|
|||||||
"--project="+framework.TestContext.CloudConfig.ProjectID,
|
"--project="+framework.TestContext.CloudConfig.ProjectID,
|
||||||
"--zone="+framework.TestContext.CloudConfig.Zone,
|
"--zone="+framework.TestContext.CloudConfig.Zone,
|
||||||
"--cluster="+framework.TestContext.CloudConfig.Cluster).CombinedOutput()
|
"--cluster="+framework.TestContext.CloudConfig.Cluster).CombinedOutput()
|
||||||
framework.ExpectNoError(err)
|
|
||||||
glog.Infof("Creating node-pool %s: %s", name, output)
|
glog.Infof("Creating node-pool %s: %s", name, output)
|
||||||
|
framework.ExpectNoError(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func deleteNodePool(name string) {
|
func deleteNodePool(name string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user