From 33e58977c266c3b5846bb2edc5e673359768ed2e Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 11 Nov 2013 20:41:09 +0200 Subject: [PATCH] Use localhost when running locally to avoid potential network issues Change-Id: Ie43604a2b41d2214d55d0976ba3c81ea361c8c56 --- uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java index caa35732d6..89fa304bfe 100644 --- a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java +++ b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java @@ -80,6 +80,9 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test { @Override protected String getDeploymentHostname() { + if (runLocally()) { + return "localhost"; + } String hostName = getProperty(HOSTNAME_PROPERTY); if (hostName == null || "".equals(hostName)) { -- 2.39.5