Skip to content

Commit

Permalink
fix MultiDatacenterRepositoryCommandExecutorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
moscicky committed Aug 5, 2024
1 parent 2b9fc16 commit 586df69
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MultiDatacenterRepositoryCommandExecutorTest extends Specification {
executor.execute(command)

then:
1 * command.rollback(holder1)
1 * command.rollback(holder1, _)

thrown InternalProcessingException
}
Expand Down Expand Up @@ -104,7 +104,7 @@ class MultiDatacenterRepositoryCommandExecutorTest extends Specification {
executor.executeByUser(command, ADMIN)

then:
1 * command.rollback(holder1)
1 * command.rollback(holder1, _)

thrown InternalProcessingException
}
Expand Down Expand Up @@ -160,7 +160,7 @@ class MultiDatacenterRepositoryCommandExecutorTest extends Specification {
executor.executeByUser(command, NON_ADMIN)

then:
1 * command.rollback(holder1)
1 * command.rollback(holder1, _)

thrown InternalProcessingException
}
Expand Down

0 comments on commit 586df69

Please sign in to comment.