Related to issue 38888: Failing SS Build
authorMartin Taal <martin.taal@openbravo.com>
Thu, 15 Nov 2018 23:37:16 +0100
changeset 7873 0f682f0cdf5e
parent 7872 87e2237bd1d4
child 7874 9747eff4ee26
Related to issue 38888: Failing SS Build
Solve wrong query call
src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverOfflineUtils.java
--- a/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverOfflineUtils.java	Thu Nov 15 21:20:31 2018 +0100
+++ b/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverOfflineUtils.java	Thu Nov 15 23:37:16 2018 +0100
@@ -97,9 +97,8 @@
           @Override
           protected void yieldResultSet(final ResultSet rs) throws SQLException {
             if (rs.next()) {
-
+              statusVar.set(0, rs.getString(1));
             }
-            statusVar.set(0, rs.getString(1));
           }
         }.execute(sql, 1, ServerType.STORE1);
         return status.equals(statusVar.get(0));