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 29638 20100cb9945a
parent 29637 641370759303
child 29639 5776bfd165d5
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);