Skip to content

Commit

Permalink
test: update leadership_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
happy-v587 authored May 4, 2023
1 parent a0613d8 commit cf073a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/election/leadership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func TestLeadership(t *testing.T) {
// Check the lease.
lease1 := leadership1.getLease()
re.NotNil(lease1)
lease2 := leadership1.getLease()
lease2 := leadership2.getLease()
re.NotNil(lease2)

re.True(lease1.IsExpired())
Expand Down

0 comments on commit cf073a8

Please sign in to comment.