Skip to content

Commit

Permalink
Fix Test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuangTung97 committed Apr 5, 2024
1 parent 84b836d commit c80c133
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions curator/fake_property_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,12 @@ func TestFakeZookeeperTester_Master_Lock(t *testing.T) {

tester.Begin()

tester.RunSessionExpiredAndConnectionError(
steps := tester.RunSessionExpiredAndConnectionError(
10,
10,
1000,
)
assert.Equal(t, 1000, steps)

store.PrintData()
store.PrintPendingCalls()
Expand All @@ -159,7 +160,7 @@ func TestFakeZookeeperTester_Master_Lock(t *testing.T) {
break
}
}
assert.Equal(t, "283", string(node.Data))
assert.Equal(t, "274", string(node.Data))
}

func TestFakeZookeeperTester_Master_Lock__Multi_Times(t *testing.T) {
Expand Down

0 comments on commit c80c133

Please sign in to comment.