Fix Stackdriver Logging e2e soak tests

This commit is contained in:
Mik Vyatskov
2017-07-06 19:55:14 +02:00
parent 7df2bce1ec
commit 01df7090cb
5 changed files with 58 additions and 36 deletions

View File

@@ -47,7 +47,7 @@ var _ = framework.KubeDescribe("Cluster level logging implemented by Stackdriver
framework.ExpectNoError(err, "Fluentd deployed incorrectly")
By("Running synthetic logger")
pod := createLoggingPod(f, podName, "", 10*60, 10*time.Minute)
pod := startNewLoggingPod(f, podName, "", 10*60, 10*time.Minute)
defer f.PodClient().Delete(podName, &meta_v1.DeleteOptions{})
err = framework.WaitForPodNameRunningInNamespace(f.ClientSet, podName, f.Namespace.Name)
framework.ExpectNoError(err, fmt.Sprintf("Should've successfully waited for pod %s to be running", podName))