Skip to content

Commit

Permalink
test: use correct types
Browse files Browse the repository at this point in the history
(cherry picked from commit 01bb3e5)
  • Loading branch information
ChrisKujawa authored and github-actions[bot] committed Sep 27, 2023
1 parent 6477151 commit d86493a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package io.atomix.raft;

import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.timeout;
import static org.mockito.Mockito.verify;
Expand Down Expand Up @@ -89,7 +89,7 @@ public void shouldNotifyCommittedEntryListenerOnLeaderOnly() throws Throwable {
raftRule.appendEntry(); // awaits commit

// then
verify(committedEntryListener, timeout(1000L).times(1)).onCommit(any());
verify(committedEntryListener, timeout(1000L).times(1)).onCommit(anyLong());
}

@Test
Expand Down

0 comments on commit d86493a

Please sign in to comment.