Commit a2f40caf authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #44847 from crassirostris/sd-logging-e2e-timeout

Automatic merge from submit-queue Increase timeout for Stackdriver Logging e2e tests They're failing in CI, because Stackdriver Logging's List method is too slow for this purpose. Quick fix, should be gone completely when reading is implemented properly /cc @piosz
parents f81e2724 5456655a
...@@ -44,7 +44,7 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Feature:Stackdr ...@@ -44,7 +44,7 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Feature:Stackdr
loggingDuration := 10 * time.Minute loggingDuration := 10 * time.Minute
linesPerSecond := 1000 * nodeCount linesPerSecond := 1000 * nodeCount
linesPerPod := linesPerSecond * int(loggingDuration.Seconds()) / podCount linesPerPod := linesPerSecond * int(loggingDuration.Seconds()) / podCount
ingestionTimeout := 30 * time.Minute ingestionTimeout := 60 * time.Minute
By("Running logs generator pods") By("Running logs generator pods")
pods := []*loggingPod{} pods := []*loggingPod{}
...@@ -84,7 +84,7 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Feature:Stackdr ...@@ -84,7 +84,7 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Feature:Stackdr
jobDuration := 1 * time.Minute jobDuration := 1 * time.Minute
linesPerPodPerSecond := 100 linesPerPodPerSecond := 100
testDuration := 10 * time.Minute testDuration := 10 * time.Minute
ingestionTimeout := 30 * time.Minute ingestionTimeout := 60 * time.Minute
podRunDelay := time.Duration(int64(jobDuration) / int64(maxPodCount)) podRunDelay := time.Duration(int64(jobDuration) / int64(maxPodCount))
podRunCount := int(testDuration.Seconds())/int(podRunDelay.Seconds()) - 1 podRunCount := int(testDuration.Seconds())/int(podRunDelay.Seconds()) - 1
......
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