Merge pull request #26254 from wojtek-t/faster_load_test

Automatic merge from submit-queue

Speed up load test
This commit is contained in:
k8s-merge-robot 2016-05-25 02:46:00 -07:00
commit dec18dabc1

View File

@ -168,9 +168,9 @@ var _ = framework.KubeDescribe("Load capacity", func() {
By("============================================================================")
// Cleanup all created replication controllers.
// Currently we assume 5 pods/second average deletion throughput.
// Currently we assume 10 pods/second average deletion throughput.
// We may want to revisit it in the future.
deletingTime := time.Duration(totalPods/5) * time.Second
deletingTime := time.Duration(totalPods/10) * time.Second
deleteAllRC(configs, deletingTime)
if createServices == "true" {
for _, service := range services {