diff --git a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/AddConnectionFactoryToRAOnlineTest.java b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/AddConnectionFactoryToRAOnlineTest.java index b416e988..5c3414f3 100644 --- a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/AddConnectionFactoryToRAOnlineTest.java +++ b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/AddConnectionFactoryToRAOnlineTest.java @@ -56,6 +56,9 @@ public void addConnectionFactoryTestcase() throws Exception { @Test public void addConnectionFactoryWithDetailsTestcase() throws Exception { + // uses legacy security which no longer works in WildFly 29+ + // (likely it was already no-op in few previous WF releases) + Assume.assumeTrue(client.version().lessThan(ServerVersion.VERSION_22_0_0)); client.apply(new AddResourceAdapter.Builder(RA_ID, "org.jboss.genericjms", TransactionType.NONE).build()); admin.reloadIfRequired(); client.apply(new AddConnectionFactoryToRA.Builder("cf1", "java:/jms/myRAConnectionFactory", RA_ID) diff --git a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/RemoveConnectionFactoryFromRAOnlineTest.java b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/RemoveConnectionFactoryFromRAOnlineTest.java index cdd07ea6..cf45d3e1 100644 --- a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/RemoveConnectionFactoryFromRAOnlineTest.java +++ b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/ra/RemoveConnectionFactoryFromRAOnlineTest.java @@ -42,6 +42,9 @@ public void close() throws Exception { @Test public void removeConnectionFactoryTestcase() throws Exception { + // uses legacy security which no longer works in WildFly 29+ + // (likely it was already no-op in few previous WF releases) + Assume.assumeTrue(client.version().lessThan(ServerVersion.VERSION_22_0_0)); client.apply(new AddResourceAdapter.Builder(RA_ID, "org.jboss.genericjms", TransactionType.NONE).build()); admin.reloadIfRequired(); client.apply(new AddConnectionFactoryToRA.Builder("cf1", "java:/jms/myRAConnectionFactory", RA_ID)