From d657f2f66bcd5739654bd58d9ad24c8a00568ffc Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Sun, 18 Sep 2022 04:26:30 +0800 Subject: [PATCH] Test: increase the TestKVDelete's timeout to 15s Sometimes it just needs more time to execute the test case, so increase the timeout from 10s to 15s. Signed-off-by: Benjamin Wang --- tests/common/kv_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/kv_test.go b/tests/common/kv_test.go index 23e387bd1..0be00ba96 100644 --- a/tests/common/kv_test.go +++ b/tests/common/kv_test.go @@ -123,7 +123,7 @@ func TestKVDelete(t *testing.T) { testRunner.BeforeTest(t) for _, tc := range clusterTestCases { t.Run(tc.name, func(t *testing.T) { - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second) defer cancel() clus := testRunner.NewCluster(ctx, t, tc.config) defer clus.Close()