Skip to content

Commit

Permalink
use existing socket binding in AddMessagingConnectorOnlineTest
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
simkam committed Sep 9, 2024
1 parent 45cb242 commit 4f19091
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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);
Expand Down

0 comments on commit 4f19091

Please sign in to comment.