Program: 80103
Project: 80103
Buggy source:
private void _testPreStartedMaster() throws Exception {
  Connection conn=null;
  String db=masterDatabasePath + "String_Node_Str" + ReplicationRun.masterDbSubPath+ "String_Node_Str"+ replicatedDb;
  String connectionURL="String_Node_Str" + "String_Node_Str" + masterServerHost + "String_Node_Str"+ masterServerPort+ "String_Node_Str"+ db+ "String_Node_Str"+ "String_Node_Str"+ slaveServerHost+ "String_Node_Str"+ slaveReplPort;
  util.DEBUG("String_Node_Str" + connectionURL);
  startMaster(jvmVersion,replicatedDb,masterServerHost,masterServerPort,masterServerHost,slaveServerPort,slaveServerHost,slaveReplPort);
  util.DEBUG("String_Node_Str" + connectionURL);
{
    try {
      conn=DriverManager.getConnection(connectionURL);
      util.DEBUG("String_Node_Str" + connectionURL);
      assertTrue("String_Node_Str" + connectionURL,false);
    }
 catch (    SQLException se) {
      int ec=se.getErrorCode();
      String ss=se.getSQLState();
      String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
      util.DEBUG("String_Node_Str" + msg);
      assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_MASTER_ALREADY_BOOTED.equals(ss));
    }
  }
  util.DEBUG("String_Node_Str" + connectionURL);
  db=slaveDatabasePath + "String_Node_Str" + ReplicationRun.slaveDbSubPath+ "String_Node_Str"+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + slaveServerHost + "String_Node_Str"+ slaveServerPort+ "String_Node_Str"+ db+ "String_Node_Str"+ "String_Node_Str"+ slaveServerHost+ "String_Node_Str"+ slaveReplPort;
  util.DEBUG(connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    util.DEBUG("String_Node_Str" + msg);
    assertTrue("String_Node_Str" + msg,SQLState.CANNOT_START_SLAVE_ALREADY_BOOTED.equals(ss));
  }
}

Fixed version (ground truth):
private void _testPreStartedMaster() throws Exception {
  Connection conn=null;
  String db=masterDatabasePath + FS + ReplicationRun.masterDbSubPath+ FS+ replicatedDb;
  String connectionURL="String_Node_Str" + "String_Node_Str" + masterServerHost + "String_Node_Str"+ masterServerPort+ "String_Node_Str"+ db+ "String_Node_Str"+ "String_Node_Str"+ slaveServerHost+ "String_Node_Str"+ slaveReplPort;
  util.DEBUG("String_Node_Str" + connectionURL);
  startMaster(jvmVersion,replicatedDb,masterServerHost,masterServerPort,masterServerHost,slaveServerPort,slaveServerHost,slaveReplPort);
  util.DEBUG("String_Node_Str" + connectionURL);
{
    try {
      conn=DriverManager.getConnection(connectionURL);
      util.DEBUG("String_Node_Str" + connectionURL);
      assertTrue("String_Node_Str" + connectionURL,false);
    }
 catch (    SQLException se) {
      int ec=se.getErrorCode();
      String ss=se.getSQLState();
      String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
      util.DEBUG("String_Node_Str" + msg);
      assertTrue("String_Node_Str" + msg,SQLState.REPLICATION_MASTER_ALREADY_BOOTED.equals(ss));
    }
  }
  util.DEBUG("String_Node_Str" + connectionURL);
  db=slaveDatabasePath + FS + ReplicationRun.slaveDbSubPath+ FS+ replicatedDb;
  connectionURL="String_Node_Str" + "String_Node_Str" + slaveServerHost + "String_Node_Str"+ slaveServerPort+ "String_Node_Str"+ db+ "String_Node_Str"+ "String_Node_Str"+ slaveServerHost+ "String_Node_Str"+ slaveReplPort;
  util.DEBUG(connectionURL);
  try {
    conn=DriverManager.getConnection(connectionURL);
    util.DEBUG("String_Node_Str" + connectionURL);
    assertTrue("String_Node_Str" + connectionURL,false);
  }
 catch (  SQLException se) {
    int ec=se.getErrorCode();
    String ss=se.getSQLState();
    String msg=ec + "String_Node_Str" + ss+ "String_Node_Str"+ se.getMessage();
    util.DEBUG("String_Node_Str" + msg);
    assertTrue("String_Node_Str" + msg,SQLState.CANNOT_START_SLAVE_ALREADY_BOOTED.equals(ss));
  }
}