Skip to content

Commit

Permalink
tests/robustness: Tune Kubernetes tests to reduce number of delete re…
Browse files Browse the repository at this point in the history
…quests

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 <[email protected]>
  • Loading branch information
serathius committed Jun 20, 2023
1 parent 9c659eb commit 519617c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/robustness/traffic/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
},
},
}
Expand Down

0 comments on commit 519617c

Please sign in to comment.