@Test
public void testReportError() throws Exception {

    CommonTracerManager.reportProfile(new CommonLogSpan(this.sofaTracer, System
        .currentTimeMillis(), "testReportProfile", SofaTracerSpanContext.rootStart(), null));
    String logType = TracerSystemLogEnum.RPC_PROFILE.getDefaultLogName();
    TestUtil.waitForAsyncLog();
    File file = customFileLog(logType);
    assertTrue(file.exists());
    List<String> profileContents = FileUtils.readLines(file);
    assertTrue(profileContents.toString(), profileContents.size() == 1);
}