mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tests: increase maxWatchDelay to prevent flaky TestWatchDelay*
value is selected empirically after spot checking some logs of flaky workflows fixes: https://github.com/etcd-io/etcd/issues/15634 Signed-off-by: Bogdan Kanivets <bkanivets@apple.com>
This commit is contained in:
parent
9606263da0
commit
2c527b2aad
@ -57,25 +57,25 @@ var tcs = []testCase{
|
||||
{
|
||||
name: "NoTLS",
|
||||
config: etcdProcessClusterConfig{clusterSize: 1},
|
||||
maxWatchDelay: 100 * time.Millisecond,
|
||||
maxWatchDelay: 150 * time.Millisecond,
|
||||
dbSizeBytes: 5 * Mega,
|
||||
},
|
||||
{
|
||||
name: "TLS",
|
||||
config: etcdProcessClusterConfig{clusterSize: 1, isClientAutoTLS: true, clientTLS: clientTLS},
|
||||
maxWatchDelay: 100 * time.Millisecond,
|
||||
maxWatchDelay: 150 * time.Millisecond,
|
||||
dbSizeBytes: 5 * Mega,
|
||||
},
|
||||
{
|
||||
name: "SeparateHttpNoTLS",
|
||||
config: etcdProcessClusterConfig{clusterSize: 1, clientHttpSeparate: true},
|
||||
maxWatchDelay: 100 * time.Millisecond,
|
||||
maxWatchDelay: 150 * time.Millisecond,
|
||||
dbSizeBytes: 5 * Mega,
|
||||
},
|
||||
{
|
||||
name: "SeparateHttpTLS",
|
||||
config: etcdProcessClusterConfig{clusterSize: 1, isClientAutoTLS: true, clientTLS: clientTLS, clientHttpSeparate: true},
|
||||
maxWatchDelay: 100 * time.Millisecond,
|
||||
maxWatchDelay: 150 * time.Millisecond,
|
||||
dbSizeBytes: 5 * Mega,
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user