Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Re-calibrate load test throughputs" #67942

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions test/e2e/scalability/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ var _ = SIGDescribe("Load capacity", func() {
}
})

// We assume a default throughput of 20 pods/second throughput.
// We assume a default throughput of 10 pods/second throughput.
// We may want to revisit it in the future.
// However, this can be overridden by LOAD_TEST_THROUGHPUT env var.
throughput := 20
throughput := 10
if throughputEnv := os.Getenv("LOAD_TEST_THROUGHPUT"); throughputEnv != "" {
if newThroughput, err := strconv.Atoi(throughputEnv); err == nil {
throughput = newThroughput
Expand Down Expand Up @@ -329,10 +329,9 @@ var _ = SIGDescribe("Load capacity", func() {
By("============================================================================")

// Cleanup all created replication controllers.
// Currently we assume <throughput/2> pods/second average deletion throughput,
// as GC is rate-limited and needs to make 2 calls per pod deletion.
// Currently we assume <throughput> pods/second average deletion throughput.
// We may want to revisit it in the future.
deletingTime := time.Duration(totalPods/(throughput/2)) * time.Second
deletingTime := time.Duration(totalPods/throughput) * time.Second
framework.Logf("Starting to delete %v objects...", itArg.kind)
deleteAllResources(configs, deletingTime, testPhaseDurations.StartPhase(500, "load pods deletion"))
})
Expand Down