Skip to content

Commit

Permalink
Merge pull request #99 from mohanvive/master
Browse files Browse the repository at this point in the history
Add possible fix for the test case failure
  • Loading branch information
pcnfernando authored Jun 5, 2019
2 parents c124a18 + 9621a2a commit 03b7971
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public synchronized void receive(Event[] events) {
fooStream.send(new Object[]{"WSO2", 55.6f, 100L});
fooStream.send(new Object[]{"WSO2", 75.6f, 102L});
fooStream.send(new Object[]{"WSO2", 57.6f, 103L});
Thread.sleep(4000);
Thread.sleep(6000);

Assert.assertTrue(count == 6);
sourceOneApp.shutdown();
Expand All @@ -176,7 +176,7 @@ public synchronized void receive(Event[] events) {
Even if one of the brokers are failing publishing should not be stopped for the other broker. Therefore, one
siddhi app must receive events.
*/
// @Test (dependsOnMethods = "testMultiDCSinkWithBothBrokersRunning")
@Test (dependsOnMethods = "testMultiDCSinkWithBothBrokersRunning")
public void testMultiDCSinkWithOneBrokersFailing() throws InterruptedException {
LOG.info("Creating test for publishing events for static topic without a partition");
String topics[] = new String[]{"myTopic"};
Expand Down

0 comments on commit 03b7971

Please sign in to comment.