Skip to content

Commit

Permalink
owner: fix TestSingle (#13427)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhuang2016 authored and sre-bot committed Nov 19, 2019
1 parent e8cd6a6 commit 087d2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owner/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func TestSingle(t *testing.T) {
if isOwner {
t.Fatalf("expect false, got isOwner:%v", isOwner)
}
time.Sleep(10 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
ownerID, _ := manager.GetOwnerID(goctx.Background())
// The error is ok to be not nil since we canceled the manager.
if ownerID != "" {
Expand Down

0 comments on commit 087d2bd

Please sign in to comment.