Skip to content

Commit

Permalink
tests: fix wrong number in comment.
Browse files Browse the repository at this point in the history
The expected sum of weights should be 100, not 1000.

Signed-off-by: Jiayin Mao <[email protected]>
  • Loading branch information
jmao-dd committed Jan 11, 2025
1 parent 75f2ae1 commit 5702d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/robustness/traffic/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var Kubernetes Traffic = kubernetesTraffic{
averageKeyCount: 10,
resource: "pods",
namespace: "default",
// Please keep the sum of weights equal 1000.
// Please keep the sum of weights equal 100.
writeChoices: []random.ChoiceWeight[KubernetesRequestType]{
{Choice: KubernetesUpdate, Weight: 90},
{Choice: KubernetesDelete, Weight: 5},
Expand Down

0 comments on commit 5702d87

Please sign in to comment.