mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tests/robustness: Reduce minimal QPS to eliminate flakes
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
parent
def3494a55
commit
a2bd589cdb
@ -78,7 +78,7 @@ func TestRobustness(t *testing.T) {
|
|||||||
clusterOfSize1Options := baseOptions
|
clusterOfSize1Options := baseOptions
|
||||||
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1))
|
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1))
|
||||||
// Add LazyFS only for traffic with lower QPS as it uses a lot of CPU lowering minimal QPS.
|
// 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))
|
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithLazyFSEnabled(true))
|
||||||
name = filepath.Join(name, "LazyFS")
|
name = filepath.Join(name, "LazyFS")
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ var (
|
|||||||
|
|
||||||
LowTraffic = Profile{
|
LowTraffic = Profile{
|
||||||
Name: "LowTraffic",
|
Name: "LowTraffic",
|
||||||
MinimalQPS: 100,
|
MinimalQPS: 80,
|
||||||
MaximalQPS: 200,
|
MaximalQPS: 200,
|
||||||
ClientCount: 8,
|
ClientCount: 8,
|
||||||
MaxNonUniqueRequestConcurrency: 3,
|
MaxNonUniqueRequestConcurrency: 3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user