Skip to content

Commit ecbe850

Browse files
committed
Fix test rule
(cherry picked from commit 761628e)
1 parent d3e957f commit ecbe850

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/rabbitmq/client/test/TestUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ public void evaluate() throws Throwable {
343343
if (Host.isOnDocker()) {
344344
throw new AssumptionViolatedException("Broker is running on Docker");
345345
}
346+
} catch (AssumptionViolatedException e) {
347+
throw e;
346348
} catch (Exception e) {
347349
throw new AssumptionViolatedException("Could not check whether broker is running on Docker or not", e);
348350
}

0 commit comments

Comments
 (0)