summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-11-11 20:41:09 +0200
committerVaadin Code Review <review@vaadin.com>2013-11-15 06:32:30 +0000
commit33e58977c266c3b5846bb2edc5e673359768ed2e (patch)
treebb5784b2c3bf4c1f36afe467856e8bde84d57a6a
parente05e10eccf1886c1621421d584615a278dd44d62 (diff)
downloadvaadin-framework-33e58977c266c3b5846bb2edc5e673359768ed2e.tar.gz
vaadin-framework-33e58977c266c3b5846bb2edc5e673359768ed2e.zip
Use localhost when running locally to avoid potential network issues
Change-Id: Ie43604a2b41d2214d55d0976ba3c81ea361c8c56
-rw-r--r--uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java3
1 files changed, 3 insertions, 0 deletions
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)) {