From b802f32979d972d110e9d542c77566f73bb3c4ee Mon Sep 17 00:00:00 2001 From: Hangjie Mo Date: Tue, 14 Feb 2023 15:10:10 +0800 Subject: [PATCH] etcd_test: remove unnecessary sleep, make ci more stable (#41378) close pingcap/tidb#37652 --- util/etcd/etcd_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/etcd/etcd_test.go b/util/etcd/etcd_test.go index f98c1393d5f6c..bbb810b0a25e3 100644 --- a/util/etcd/etcd_test.go +++ b/util/etcd/etcd_test.go @@ -107,8 +107,6 @@ func TestUpdate(t *testing.T) { require.Equal(t, obj1, string(res)) require.Equal(t, revision1, revision0) - time.Sleep(time.Second) - err = etcdCli.Update(ctx, key, obj2, 3) require.NoError(t, err)