Skip to content

Commit 087d2bd

Browse files
wjhuang2016sre-bot
authored andcommitted
owner: fix TestSingle (pingcap#13427)
1 parent e8cd6a6 commit 087d2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

owner/manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func TestSingle(t *testing.T) {
9090
if isOwner {
9191
t.Fatalf("expect false, got isOwner:%v", isOwner)
9292
}
93-
time.Sleep(10 * time.Millisecond)
93+
time.Sleep(200 * time.Millisecond)
9494
ownerID, _ := manager.GetOwnerID(goctx.Background())
9595
// The error is ok to be not nil since we canceled the manager.
9696
if ownerID != "" {

0 commit comments

Comments
 (0)