From 4f19091f7b21ec924b67043e4954427a765c1dc5 Mon Sep 17 00:00:00 2001 From: Martin Simka Date: Mon, 9 Sep 2024 12:18:32 +0200 Subject: [PATCH] use existing socket binding in AddMessagingConnectorOnlineTest It worked before WildFly 30 because restart was required to actually apply changes (and it would fail after restart), but after [WFLY-18237](https://issues.redhat.com/browse/WFLY-18237) the validation happens immmediately. --- .../commands/messaging/AddMessagingConnectorOnlineTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/messaging/AddMessagingConnectorOnlineTest.java b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/messaging/AddMessagingConnectorOnlineTest.java index a9aabb93..0c296673 100644 --- a/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/messaging/AddMessagingConnectorOnlineTest.java +++ b/testsuite/standalone/src/test/java/org/wildfly/extras/creaper/commands/messaging/AddMessagingConnectorOnlineTest.java @@ -63,7 +63,7 @@ public void addInVmConnector() throws CommandFailedException, IOException { @Test public void addGenericConnector() throws CommandFailedException, IOException { AddMessagingConnector addMessagingConnector = new AddMessagingConnector.GenericBuilder(TEST_CONNECTOR) - .socketBinding("testSocketBinding") + .socketBinding("http") .factoryClass("testClass") .build(); @@ -79,7 +79,7 @@ public void addGenericConnector() throws CommandFailedException, IOException { @Test public void addRemoteConnector() throws CommandFailedException, IOException { AddMessagingConnector addMessagingConnector = new AddMessagingConnector.RemoteBuilder(TEST_CONNECTOR) - .socketBinding("testSocketBinding") + .socketBinding("http") .build(); client.apply(addMessagingConnector);