9293949596979899100101102
thrown = null; boolean written = false; for(int i=0; i<50; i++) { try { test.sendNotify(); Util.sleep(1000); if(i>15 && !written) { writeRule(25, 45, "src/test/resources/CounterNotification.drl"); written = true; }
125126127128129130131132133134135
thrown = null; Gnostic g = (Gnostic)testManager.waitForService(Gnostic.class); Util.waitForRule(g, "CounterNotification"); for(int i=0; i<15; i++) { try { test.sendNotify(); Util.sleep(1000); } catch (Exception e) { e.printStackTrace(); thrown = e; }