Related to issue 38888: Failing SS Build
authorMartin Taal <martin.taal@openbravo.com>
Mon, 26 Nov 2018 12:34:32 +0100
changeset 7909 93db189773cd
parent 7908 916c79b47ce6
child 7910 dd80ef6c8f54
Related to issue 38888: Failing SS Build
Make sure single server or unknown are not checked
src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java
--- a/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java	Mon Nov 26 12:12:34 2018 +0100
+++ b/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java	Mon Nov 26 12:34:32 2018 +0100
@@ -67,6 +67,10 @@
       return;
     }
 
+    if (toServerType == ServerType.UNKNOWN || toServerType == ServerType.SINGLESERVER) {
+      return;
+    }
+
     String toServerKey = "Central";
     if (toServerType.equals(ServerType.STORE1)) {
       toServerKey = "Store1";