assertEquals("1", logReq01.getRequestId());
reader3.endSlice();
}
public void testProgress() throws Exception {
LocalLogService localService = LocalLogServiceTestConfig.getLocalLogService();
localService.addRequestInfo(APP_ID, VERSION_ID, "req01", IP, NICKNAME, BASE_TIME + 10L,
BASE_TIME + 20L, METHOD, RESOURCE, HTTP_VERSION, USER_AGENT, true, STATUS_CODE, REFERRER);
localService.addRequestInfo(APP_ID, VERSION_ID, "req02", IP, NICKNAME, BASE_TIME + 20L,
BASE_TIME + 100L, METHOD, RESOURCE, HTTP_VERSION, USER_AGENT, true, STATUS_CODE, REFERRER);
LogInputReader reader = createReader(BASE_TIME + 0L, BASE_TIME + 200L);
// Before any logs are read
assertEquals(0.0, reader.getProgress());