Skip to content

Commit

Permalink
skip AddConnectionFactoryToRAOnlineTest tests that require legacy sec…
Browse files Browse the repository at this point in the history
…urity on WF 29+
  • Loading branch information
simkam committed Sep 6, 2024
1 parent 5e16ba5 commit 73a525f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 73a525f

Please sign in to comment.