]> source.dussan.org Git - vaadin-framework.git/commitdiff
Include integration test server in the test name
authorLeif Åstrand <leif@vaadin.com>
Tue, 27 Aug 2013 12:12:06 +0000 (15:12 +0300)
committerLeif Åstrand <leif@vaadin.com>
Tue, 27 Aug 2013 12:12:06 +0000 (15:12 +0300)
uitest/src/com/vaadin/tests/tb3/TB3Runner.java

index dcfb8b69730d1732e4097da8f459bbb17984eabe..2013d7b9ea9747e42da78ae77b0d8972242baaa6 100644 (file)
@@ -178,7 +178,14 @@ public class TB3Runner extends BlockJUnit4ClassRunner {
                 browserName = "Opera";
             }
 
-            return browserName + capabilities.getVersion();
+            String format = browserName + capabilities.getVersion();
+
+            String serverName = System.getProperty("server-name");
+            if (serverName != null && !serverName.isEmpty()) {
+                format = serverName + "_" + format;
+            }
+
+            return format;
         }
     }
 }