Skip to content

Commit

Permalink
Fixed span clone concurrency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
钟海 committed May 30, 2024
1 parent cc6ccc5 commit dfd2603
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
Expand Down Expand Up @@ -141,6 +143,11 @@ public void testReportSpan() {
.getDefaultLogName());
String absolutePath = file.getAbsolutePath();
System.out.println("path is ????"+absolutePath);
if (Files.exists(Paths.get(absolutePath))) {
System.out.println("文件存在");
} else {
System.out.println("文件不存在");
}
List<String> contents = FileUtils.readLines(customFileLog(TracerTestLogEnum.RPC_CLIENT
.getDefaultLogName()));
assertEquals(contents.get(0), 1, contents.size());
Expand Down

0 comments on commit dfd2603

Please sign in to comment.