static MysqlRepairRequestsDb createRepairRequestsConnection(String localDc, Time time) throws Exception {
    Properties properties = new Properties();
    String dbInfo = "["
        + "{\"url\":\"jdbc:mysql://localhost/AmbryRepairRequests?serverTimezone=UTC\",\"datacenter\":\"DC1\",\"isWriteable\":\"true\",\"username\":\"travis\",\"password\":\"\"},"
        + "{\"url\":\"jdbc:mysql://localhost/AmbryRepairRequests?serverTimezone=UTC\",\"datacenter\":\"DC2\",\"isWriteable\":\"true\",\"username\":\"travis\",\"password\":\"\"},"
        + "{\"url\":\"jdbc:mysql://localhost/AmbryRepairRequests?serverTimezone=UTC\",\"datacenter\":\"DC3\",\"isWriteable\":\"true\",\"username\":\"travis\",\"password\":\"\"}"
        + "]";
    properties.setProperty(MysqlRepairRequestsDbConfig.DB_INFO, dbInfo);
    properties.setProperty(MysqlRepairRequestsDbConfig.LIST_MAX_RESULTS, Integer.toString(100));
    properties.setProperty(MysqlRepairRequestsDbConfig.LOCAL_POOL_SIZE, "5");

    VerifiableProperties verifiableProperties = new VerifiableProperties(properties);
    MetricRegistry metrics = new MetricRegistry();
    MysqlRepairRequestsDbFactory factory =
        new MysqlRepairRequestsDbFactory(verifiableProperties, metrics, localDc, time);
    MysqlRepairRequestsDb repairRequestsDb = factory.getRepairRequestsDb();

    // cleanup the database
    cleanRepairRequestsDb(repairRequestsDb);
    return repairRequestsDb;
  }
Test On-Demand Replication on deletion success case. And the service id of the delete request is null.
@throws Exception
ambry-router/src/test/java/com/github/ambry/router/NonBlockingRouterTest.java