Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed May 6, 2024
1 parent 0ce27d2 commit c6a86ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,14 @@ void doesNotIgnoreStoredValuesThatThrewUnrecoverableFailuresDuringCleanup() {

@Test
void closeIsIdempotent() throws Throwable {
store.put(namespace, "key1", "value1");
store.put(namespace, key, value);

verifyNoInteractions(closeAction);

store.close();
assertClosed();

verify(closeAction, times(1)).close(namespace, "key1", "value1");
verify(closeAction, times(1)).close(namespace, key, value);

store.close();
assertClosed();
Expand Down

0 comments on commit c6a86ae

Please sign in to comment.