From ec291b96db1668b11ff9bc08dbd95a87e82e2393 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 3 Sep 2013 16:25:06 +0300 Subject: [PATCH] Guess hostname automatically if not given Change-Id: Ibf33d1ccce42213c66702757630e7b633fd83c23 --- uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java index b908786036..8813b6c192 100644 --- a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java +++ b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java @@ -71,7 +71,7 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test { protected String getDeploymentHostname() { String hostName = getProperty(HOSTNAME_PROPERTY); - if ("auto".equals(hostName)) { + if (hostName == null || "".equals(hostName)) { hostName = findAutoHostname(); } -- 2.39.5