Merge pull request #15636 from lavacat/main-test-watch-delay

tests: increase maxWatchDelay to prevent flaky TestWatchDelay*
This commit is contained in:
Marek Siarkowicz 2023-04-04 09:38:03 +02:00 committed by GitHub
commit 5e0119eadc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,25 +57,25 @@ var tcs = []testCase{
{
name: "NoTLS",
config: e2e.EtcdProcessClusterConfig{ClusterSize: 1},
maxWatchDelay: 100 * time.Millisecond,
maxWatchDelay: 150 * time.Millisecond,
dbSizeBytes: 5 * Mega,
},
{
name: "TLS",
config: e2e.EtcdProcessClusterConfig{ClusterSize: 1, Client: e2e.ClientConfig{ConnectionType: e2e.ClientTLS}},
maxWatchDelay: 2 * time.Second,
maxWatchDelay: 3 * time.Second,
dbSizeBytes: 500 * Kilo,
},
{
name: "SeparateHttpNoTLS",
config: e2e.EtcdProcessClusterConfig{ClusterSize: 1, ClientHttpSeparate: true},
maxWatchDelay: 100 * time.Millisecond,
maxWatchDelay: 150 * time.Millisecond,
dbSizeBytes: 5 * Mega,
},
{
name: "SeparateHttpTLS",
config: e2e.EtcdProcessClusterConfig{ClusterSize: 1, Client: e2e.ClientConfig{ConnectionType: e2e.ClientTLS}, ClientHttpSeparate: true},
maxWatchDelay: 100 * time.Millisecond,
maxWatchDelay: 150 * time.Millisecond,
dbSizeBytes: 5 * Mega,
},
}