Skip to content

Commit

Permalink
Merge pull request etcd-io#16378 from serathius/qps-flakes
Browse files Browse the repository at this point in the history
tests/robustness: Reduce minimal QPS to eliminate flakes
  • Loading branch information
serathius committed Aug 6, 2023
2 parents bf2170b + a2bd589 commit 25315dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/robustness/linearizability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestRobustness(t *testing.T) {
clusterOfSize1Options := baseOptions
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1))
// Add LazyFS only for traffic with lower QPS as it uses a lot of CPU lowering minimal QPS.
if enableLazyFS && tp.Profile.MinimalQPS <= 100 {
if enableLazyFS && tp.Profile.MinimalQPS <= 80 {
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithLazyFSEnabled(true))
name = filepath.Join(name, "LazyFS")
}
Expand Down
2 changes: 1 addition & 1 deletion tests/robustness/traffic/traffic.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (

LowTraffic = Profile{
Name: "LowTraffic",
MinimalQPS: 100,
MinimalQPS: 80,
MaximalQPS: 200,
ClientCount: 8,
MaxNonUniqueRequestConcurrency: 3,
Expand Down

0 comments on commit 25315dd

Please sign in to comment.