Skip to content

Commit

Permalink
etcd_test: remove unnecessary sleep, make ci more stable (pingcap#41378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 authored and blacktear23 committed Feb 15, 2023
1 parent dc368c4 commit b802f32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/etcd/etcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b802f32

Please sign in to comment.