Program: 147466
Project: 147466
Buggy source:
/** 
 * Publish messages to a topic in a single node and receive from a different node at a slow rate.
 * @throws Exception
 */
@Test(groups="String_Node_Str",description="String_Node_Str") public void testDifferentNodeSlowPublisher() throws Exception {
  Integer runTime=80;
  Integer expectedCount=2000;
  Integer sendCount=2000;
  String hostInfoForReceiver=automationContext1.getInstance().getHosts().get("String_Node_Str") + "String_Node_Str" + automationContext1.getInstance().getPorts().get("String_Node_Str");
  AndesClient receivingClient=new AndesClient("String_Node_Str",hostInfoForReceiver,"String_Node_Str","String_Node_Str","String_Node_Str",runTime.toString(),expectedCount.toString(),"String_Node_Str","String_Node_Str" + expectedCount,"String_Node_Str");
  receivingClient.startWorking();
  TopicNode topic=topicAdminClient1.getTopicByName("String_Node_Str");
  assertTrue(topic.getTopicName().equalsIgnoreCase("String_Node_Str"),"String_Node_Str");
  String hostInfoForSender=automationContext2.getInstance().getHosts().get("String_Node_Str") + "String_Node_Str" + automationContext2.getInstance().getPorts().get("String_Node_Str");
  AndesClient sendingClient=new AndesClient("String_Node_Str",hostInfoForSender,"String_Node_Str","String_Node_Str","String_Node_Str",runTime.toString(),sendCount.toString(),"String_Node_Str","String_Node_Str" + sendCount,"String_Node_Str");
  sendingClient.startWorking();
  boolean receiveSuccess=AndesClientUtils.waitUntilMessagesAreReceived(receivingClient,expectedCount,runTime);
  boolean sendSuccess=AndesClientUtils.getIfSenderIsSuccess(sendingClient,sendCount);
  Assert.assertTrue(receiveSuccess,"String_Node_Str");
  Assert.assertTrue(sendSuccess,"String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Publish messages to a topic in a single node and receive from a different node at a slow rate.
 * @throws Exception
 */
@Test(groups="String_Node_Str",description="String_Node_Str",enabled=true) public void testDifferentNodeSlowPublisher() throws Exception {
  Integer runTime=80;
  Integer expectedCount=2000;
  Integer sendCount=2000;
  String hostInfoForReceiver=automationContext1.getInstance().getHosts().get("String_Node_Str") + "String_Node_Str" + automationContext1.getInstance().getPorts().get("String_Node_Str");
  AndesClient receivingClient=new AndesClient("String_Node_Str",hostInfoForReceiver,"String_Node_Str","String_Node_Str","String_Node_Str",runTime.toString(),expectedCount.toString(),"String_Node_Str","String_Node_Str" + expectedCount,"String_Node_Str");
  receivingClient.startWorking();
  TopicNode topic=topicAdminClient1.getTopicByName("String_Node_Str");
  assertTrue(topic.getTopicName().equalsIgnoreCase("String_Node_Str"),"String_Node_Str");
  String hostInfoForSender=automationContext2.getInstance().getHosts().get("String_Node_Str") + "String_Node_Str" + automationContext2.getInstance().getPorts().get("String_Node_Str");
  AndesClient sendingClient=new AndesClient("String_Node_Str",hostInfoForSender,"String_Node_Str","String_Node_Str","String_Node_Str",runTime.toString(),sendCount.toString(),"String_Node_Str","String_Node_Str" + sendCount,"String_Node_Str");
  sendingClient.startWorking();
  boolean receiveSuccess=AndesClientUtils.waitUntilMessagesAreReceived(receivingClient,expectedCount,runTime);
  boolean sendSuccess=AndesClientUtils.getIfSenderIsSuccess(sendingClient,sendCount);
  Assert.assertTrue(receiveSuccess,"String_Node_Str");
  Assert.assertTrue(sendSuccess,"String_Node_Str");
}