From 757910958e689cf155724557c08486e452656662 Mon Sep 17 00:00:00 2001 From: Bogdan Kanivets Date: Mon, 3 Apr 2023 21:49:07 -0700 Subject: [PATCH] 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 --- tests/e2e/watch_delay_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/watch_delay_test.go b/tests/e2e/watch_delay_test.go index 78a8871a2..a368f6db6 100644 --- a/tests/e2e/watch_delay_test.go +++ b/tests/e2e/watch_delay_test.go @@ -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, }, }