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 "Speed up load test in smaller clusters" #22349

Merged
merged 1 commit into from
Mar 2, 2016
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
24 changes: 7 additions & 17 deletions test/e2e/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,24 +126,17 @@ var _ = Describe("Load capacity", func() {

// We would like to spread creating replication controllers over time
// to make it possible to create/schedule them in the meantime.
// Currently we assume 10 pods/second average throughput.
creatingTime := time.Duration(totalPods/10) * time.Second
// TODO: Remove it after speeding up scheduler #22262.
if nodeCount > 500 {
creatingTime = time.Duration(totalPods/5) * time.Second
}
// Currently we assume 5 pods/second average throughput.
// We may want to revisit it in the future.
creatingTime := time.Duration(totalPods/5) * time.Second
createAllRC(configs, creatingTime)
By("============================================================================")

// We would like to spread scaling replication controllers over time
// to make it possible to create/schedule & delete them in the meantime.
// Currently we assume that 10 pods/second average throughput.
// Currently we assume that 5 pods/second average throughput.
// The expected number of created/deleted pods is less than totalPods/3.
scalingTime := time.Duration(totalPods/30) * time.Second
// TODO: Remove it after speeding up scheduler #22262.
if nodeCount > 500 {
scalingTime = time.Duration(totalPods/15) * time.Second
}
scalingTime := time.Duration(totalPods/15) * time.Second
scaleAllRC(configs, scalingTime)
By("============================================================================")

Expand All @@ -152,11 +145,8 @@ var _ = Describe("Load capacity", func() {

// Cleanup all created replication controllers.
// Currently we assume 5 pods/second average deletion throughput.
deletingTime := time.Duration(totalPods/10) * time.Second
// TODO: Remove it after speeding up scheduler #22262.
if nodeCount > 500 {
deletingTime = time.Duration(totalPods/5) * time.Second
}
// We may want to revisit it in the future.
deletingTime := time.Duration(totalPods/5) * time.Second
deleteAllRC(configs, deletingTime)
})
}
Expand Down