]> source.dussan.org Git - vaadin-framework.git/commitdiff
Guess hostname automatically if not given
authorArtur Signell <artur@vaadin.com>
Tue, 3 Sep 2013 13:25:06 +0000 (16:25 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 3 Sep 2013 13:25:06 +0000 (16:25 +0300)
Change-Id: Ibf33d1ccce42213c66702757630e7b633fd83c23

uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java

index b9087860364197a635601869432ce85ebb989564..8813b6c19252b25673e7c0a52bf15fd64ea21f99 100644 (file)
@@ -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();
         }