Related to issue 38888: Failing SS Build
authorMartin Taal <martin.taal@openbravo.com>
Mon, 03 Dec 2018 20:30:59 +0100
changeset 7943 a56498275ca7
parent 7942 4010fd054eeb
child 7944 1d728bebf059
Related to issue 38888: Failing SS Build
Add extra logging
src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java
--- a/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java	Mon Dec 03 19:45:15 2018 +0100
+++ b/src-test/org/openbravo/test/mobile/retail/multiserver/MultiserverUtils.java	Mon Dec 03 20:30:59 2018 +0100
@@ -200,15 +200,17 @@
   public static void removeBatchesInError(final ServerType server) {
     final String serverKey = getServerKey(server);
     final String sqlLogging = "select * from sym_outgoing_batch where node_id = '" + serverKey
-        + "' and status = ('ER') ORDER BY node_id";
+        + "' and status = ('ER')";
 
     TestLogger.getLogger().info("Removing batch in error on " + server);
 
     new DatabaseHelperSelect() {
       @Override
       protected void yieldResultSet(final ResultSet rs) throws SQLException {
+        TestLogger.getLogger().info("Removing batch in error ");
         final String batchId = rs.getString("batch_id");
         final String nodeId = rs.getString("node_id");
+        TestLogger.getLogger().info("Removing batch in error " + batchId);
         final JSONObject json = new JSONObject();
         try {
           json.put("inpnodeid", nodeId);