File: 0018-TestHashKVWhenCompacting-increase-timeout-10s-15s.patch

package info (click to toggle)
etcd 3.5.16-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,868 kB
  • sloc: sh: 3,136; makefile: 477
file content (22 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Reinhard Tartler <siretart@tauware.de>
Date: Fri, 1 Nov 2024 05:37:15 -0400
Subject: TestHashKVWhenCompacting: increase timeout 10s->15s

This should help with autopkgtest on armel
---
 server/mvcc/kvstore_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/mvcc/kvstore_test.go b/server/mvcc/kvstore_test.go
index 612362d..5bc9e6c 100644
--- a/server/mvcc/kvstore_test.go
+++ b/server/mvcc/kvstore_test.go
@@ -626,7 +626,7 @@ func TestHashKVWhenCompacting(t *testing.T) {
 
 	select {
 	case <-donec:
-	case <-time.After(10 * time.Second):
+	case <-time.After(15 * time.Second):
 		close(stopc)
 		wg.Wait()
 		testutil.FatalStack(t, "timeout")