Mercurial > hg > thermostat-ng > web-gateway
changeset 206:8276de658fa9
Do not inherit IO for mongo integration test setup script
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-July/024243.html
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Fri, 21 Jul 2017 08:28:05 -0400 |
parents | 03b19e051f0c |
children | 77039945b1ad |
files | tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/tests/integration/MongoIntegrationTest.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/tests/integration/MongoIntegrationTest.java Thu Jul 20 13:38:48 2017 -0400 +++ b/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/tests/integration/MongoIntegrationTest.java Fri Jul 21 08:28:05 2017 -0400 @@ -75,7 +75,7 @@ private static void setupMongoCredentials() throws IOException, InterruptedException { Path mongoSetup = distributionImage.resolve("etc/mongo-dev-setup.js"); - ProcessBuilder processBuilder = new ProcessBuilder().command("mongo", mongodTestUtil.listenAddress, mongoSetup.toAbsolutePath().toString()).inheritIO(); + ProcessBuilder processBuilder = new ProcessBuilder().command("mongo", mongodTestUtil.listenAddress, mongoSetup.toAbsolutePath().toString()); Process mongoProcess = processBuilder.start(); mongoProcess.waitFor(); }