From 519617cfd00dea5f1e36b1227c255d017b15562c Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Tue, 20 Jun 2023 09:45:15 +0200 Subject: [PATCH] tests/robustness: Tune Kubernetes tests to reduce number of delete requests Having too many delete requests is bad as they are not unique requests, so linearization is more prone to timeout on them. Signed-off-by: Marek Siarkowicz --- tests/robustness/traffic/kubernetes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/robustness/traffic/kubernetes.go b/tests/robustness/traffic/kubernetes.go index b4f3f9f5eec..2539fcab1c8 100644 --- a/tests/robustness/traffic/kubernetes.go +++ b/tests/robustness/traffic/kubernetes.go @@ -37,13 +37,13 @@ var ( maximalQPS: 1000, clientCount: 12, Traffic: kubernetesTraffic{ - averageKeyCount: 5, + averageKeyCount: 10, resource: "pods", namespace: "default", writeChoices: []choiceWeight[KubernetesRequestType]{ - {choice: KubernetesUpdate, weight: 75}, - {choice: KubernetesDelete, weight: 15}, - {choice: KubernetesCreate, weight: 10}, + {choice: KubernetesUpdate, weight: 90}, + {choice: KubernetesDelete, weight: 5}, + {choice: KubernetesCreate, weight: 5}, }, }, }