mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Speed up load test
This commit is contained in:
parent
9a996f4eea
commit
774347afca
@ -168,9 +168,9 @@ var _ = framework.KubeDescribe("Load capacity", func() {
|
|||||||
By("============================================================================")
|
By("============================================================================")
|
||||||
|
|
||||||
// Cleanup all created replication controllers.
|
// 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.
|
// 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)
|
deleteAllRC(configs, deletingTime)
|
||||||
if createServices == "true" {
|
if createServices == "true" {
|
||||||
for _, service := range services {
|
for _, service := range services {
|
||||||
|
Loading…
Reference in New Issue
Block a user