From ac0c1cd12df823cf3d896012f494fbe59b1fe79c Mon Sep 17 00:00:00 2001 From: Mohan Date: Tue, 10 Sep 2019 17:15:15 +0530 Subject: [PATCH] Reduce the probability of test failure --- .../query/pattern/absent/LogicalAbsentPatternTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/siddhi-core/src/test/java/io/siddhi/core/query/pattern/absent/LogicalAbsentPatternTestCase.java b/modules/siddhi-core/src/test/java/io/siddhi/core/query/pattern/absent/LogicalAbsentPatternTestCase.java index 04359f665d..d3b5adfbd3 100644 --- a/modules/siddhi-core/src/test/java/io/siddhi/core/query/pattern/absent/LogicalAbsentPatternTestCase.java +++ b/modules/siddhi-core/src/test/java/io/siddhi/core/query/pattern/absent/LogicalAbsentPatternTestCase.java @@ -1952,7 +1952,7 @@ public void testQueryAbsent47() throws InterruptedException { siddhiAppRuntime.shutdown(); } - @Test //(dependsOnMethods = {"testQueryAbsent47"}) + @Test(dependsOnMethods = {"testQueryAbsent47"}) public void testQueryAbsent48() throws InterruptedException { log.info("Test the query every (not e1 for 2 sec or not e2 for 2 sec) -> e3 with only e3 after 4 seconds"); @@ -1977,7 +1977,7 @@ public void testQueryAbsent48() throws InterruptedException { InputHandler stream3 = siddhiAppRuntime.getInputHandler("Stream3"); siddhiAppRuntime.start(); - Thread.sleep(4200); + Thread.sleep(4100); stream3.send(new Object[]{"WSO2", 35.0f, 100}); Thread.sleep(1000);