Skip to content

Commit 404a5e7

Browse files
committed
travis: run jetty using IPv4 stack only
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent f9ae3bb commit 404a5e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/travis/before_script.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export CATALINA_HOME=/opt/tomcat
88
export M2_HOME="/usr/local/maven-3.2.1/"
99
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m"
1010

11-
mvn -Dsimulator -pl :cloud-client-ui jetty:run 2>&1 > /dev/null &
11+
mvn -Dsimulator -Djava.net.preferIPv4Stack=true -pl :cloud-client-ui jetty:run 2>&1 > /dev/null &
1212

1313
while ! nc -vz localhost 8096 2>&1 > /dev/null; do sleep 10; done
1414
python -m marvin.deployDataCenter -i setup/dev/advanced.cfg 2>&1 || true

0 commit comments

Comments
 (0)