Skip to content

Commit

Permalink
Merge pull request #3020 from chanikag/jsonPathFix
Browse files Browse the repository at this point in the history
Fix intermittent test failure
  • Loading branch information
chanikag authored Nov 9, 2023
2 parents c5e5abf + 5277424 commit e01b616
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void testPollingWithSuspensionLimit() throws Exception {
pushMessageToQue(addEndpoint());

assertTrue(Utils.checkForLog(carbonLogReader, "Suspending polling as the pollingSuspensionLimit of 2 "
+ "reached. Polling will be re-started after 3000 milliseconds", DEFAULT_TIMEOUT),
+ "reached. Polling will be re-started after 3000 milliseconds", 180),
"JMS Polling suspension is not enabled.");
Utils.undeploySynapseConfiguration(ENDPOINT_NAME, Utils.ArtifactType.INBOUND_ENDPOINT.getDirName(), false);
}
Expand All @@ -61,7 +61,7 @@ public void testPollingWithSuspensionLimitAsZero() throws Exception {

pushMessageToQue(addEndpointWithSuspensionLimitZero());

assertTrue(Utils.checkForLog(carbonLogReader, "Polling is suspended permanently", DEFAULT_TIMEOUT),
assertTrue(Utils.checkForLog(carbonLogReader, "Polling is suspended permanently", 180),
"JMS Polling is not permanently suspended though the suspension limit is 0.");
Utils.undeploySynapseConfiguration(ENDPOINT_NAME, Utils.ArtifactType.INBOUND_ENDPOINT.getDirName(), false);
}
Expand Down

0 comments on commit e01b616

Please sign in to comment.