Skip to content

Commit 3644918

Browse files
author
RolefH
committed
AppConfig tests made robuster
1 parent b759f96 commit 3644918

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/MessageHubTests/src/test/java/com/ibm/streamsx/messagehub/test/MessageHubAppConfigParamTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void cleanup() throws Exception {
5656
ProcessBuilder pb = new ProcessBuilder(System.getenv("STREAMS_INSTALL") + "/bin/streamtool", "rmappconfig", "--noprompt", APP_CONFIG_NAME);
5757
pb.inheritIO();
5858
Process p = pb.start();
59-
59+
Thread.sleep(5000);
6060
p.waitFor(25, TimeUnit.SECONDS);
6161
if(p.exitValue() != 0) {
6262
System.out.println(p.exitValue());

tests/MessageHubTests/src/test/java/com/ibm/streamsx/messagehub/test/MessageHubDefaultAppConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void setup() throws Exception {
4242
ProcessBuilder pb = new ProcessBuilder(System.getenv("STREAMS_INSTALL") + "/bin/streamtool", "mkappconfig", "--property", creds, "messagehub");
4343
pb.inheritIO();
4444
Process p = pb.start();
45-
45+
Thread.sleep(5000);
4646
p.waitFor(25, TimeUnit.SECONDS);
4747
if(p.exitValue() != 0) {
4848
System.out.println(p.exitValue());

0 commit comments

Comments
 (0)