Skip to content

Commit

Permalink
Tb fix ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
tlbueno committed Apr 9, 2024
1 parent dd386c5 commit f8fae6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/src/main/java/io/brokerqe/claire/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public interface Constants {

// Test related strings
String DEFAULT_KEYCLOAK_VERSION = "22.0.5";
String DEFAULT_RHSSO_VERSION = "rhbk-operator.v22.0.8-opr.2";
String DEFAULT_RHSSO_VERSION = "rhbk-operator.v22.0.9-opr.1";

// Networking
String AMQP = "amqp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ public void testSenderReceiverLdapUsers() {

LOGGER.info("[{}] Trying to send messages as {} with {}", getTestNamespace(), ArtemisConstants.BOB_NAME, bobPass);
t = assertThrows(MessagingClientException.class, consumerBob::sendMessages);
assertThat(t.getMessage(), containsString("does not have permission='SEND' on address"));
if (ResourceManager.getEnvironment().getArtemisTestVersion().getVersionNumber() <= ArtemisVersion.VERSION_2_28.getVersionNumber()) {
assertThat(t.getMessage(), containsString("does not have permission='SEND' on address"));
} else {
assertThat(t.getMessage(), containsString("does not have permission='SEND' for queue"));
}
}

@Test
Expand Down

0 comments on commit f8fae6f

Please sign in to comment.