mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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 <wachao@vmware.com>
This commit is contained in:
parent
cdf4228673
commit
d657f2f66b
@ -123,7 +123,7 @@ func TestKVDelete(t *testing.T) {
|
|||||||
testRunner.BeforeTest(t)
|
testRunner.BeforeTest(t)
|
||||||
for _, tc := range clusterTestCases {
|
for _, tc := range clusterTestCases {
|
||||||
t.Run(tc.name, func(t *testing.T) {
|
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()
|
defer cancel()
|
||||||
clus := testRunner.NewCluster(ctx, t, tc.config)
|
clus := testRunner.NewCluster(ctx, t, tc.config)
|
||||||
defer clus.Close()
|
defer clus.Close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user