Related to issue 32504: Add one more sleep in MCC1 costing test.
authorAlvaro Ferraz <alvaro.ferraz@openbravo.com>
Wed, 11 May 2016 12:36:52 +0200
changeset 29499 20100cb9945a
parent 29498 641370759303
child 29500 4631e87e35e7
child 29542 6a665e3bde5b
Related to issue 32504: Add one more sleep in MCC1 costing test.
src-test/src/org/openbravo/test/costing/TestCosting.java
--- a/src-test/src/org/openbravo/test/costing/TestCosting.java	Wed May 11 12:28:00 2016 +0200
+++ b/src-test/src/org/openbravo/test/costing/TestCosting.java	Wed May 11 12:36:52 2016 +0200
@@ -4093,6 +4093,9 @@
       // Run price correction background
       runPriceBackground();
 
+      // Add sleep to avoid assert errors
+      Thread.sleep(1000);
+
       // Create goods shipment, run costing background, post it and assert it
       ShipmentInOut goodsShipment2 = createGoodsShipment(product, price4, quantity3, day5);