Skip to content

Commit

Permalink
Merge pull request #1706 from jfdenise/JBEAP-5420
Browse files Browse the repository at this point in the history
Fix for WFCORE-1712
  • Loading branch information
bstansberry committed Aug 11, 2016
2 parents 4b0487a + 0c503cf commit f6f03c1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public class CLIScriptSupportTestCase {

@Test
public void testConnectStatus() {
// Replace default adrress with contextual one for the embedded server to use
// the right one.
System.setProperty("jboss.bind.address.management", TestSuiteEnvironment.getServerAddress());

// Offline instance
CLI cli = CLI.newInstance();
Expand Down Expand Up @@ -84,7 +87,8 @@ public void testConnectStatus() {
null));

// Make a valid connect
cli2.connect();
cli2.connect(TestSuiteEnvironment.getServerAddress(),
TestSuiteEnvironment.getServerPort(), null, null);
try {
executeCommand(cli2, "version");
} finally {
Expand Down

0 comments on commit f6f03c1

Please sign in to comment.