Related to issue 38888: Failing SS Build
authorMartin Taal <martin.taal@openbravo.com>
Sun, 18 Nov 2018 22:31:13 +0100
changeset 7885 d5b188bb30f9
parent 7884 f7f9bc5f40b9
child 7886 e81b6816ecde
Related to issue 38888: Failing SS Build
Read import entries before stopping central server
src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMSCentral003_CreateMultiorder.java
--- a/src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMSCentral003_CreateMultiorder.java	Sun Nov 18 19:39:36 2018 +0100
+++ b/src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMSCentral003_CreateMultiorder.java	Sun Nov 18 22:31:13 2018 +0100
@@ -24,10 +24,10 @@
   @Test
   public void test() {
 
+    final int importCount = WebPOSDatabaseHelper.countProcessedImportEntries(ServerType.STORE1);
+
     goCentralOffline();
 
-    final int importCount = WebPOSDatabaseHelper.countProcessedImportEntries(ServerType.STORE1);
-
     String totalToPay1;
     String totalToPay2;
     String totalGross;