diff options
-rw-r--r-- | src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestCaseNode.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestCaseNode.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestCaseNode.java index af64e3b2f0..075f7f0b60 100644 --- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestCaseNode.java +++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/TestCaseNode.java @@ -26,6 +26,7 @@ import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; +import java.util.concurrent.ConcurrentMap; import javax.annotation.Nullable; import org.junit.runner.Description; @@ -37,7 +38,7 @@ class TestCaseNode extends TestNode implements TestPropertyExporter.Callback { private final Map<String, String> properties = new ConcurrentHashMap<>(); private final Map<String, Integer> repeatedPropertyNamesToRepetitions = new HashMap<>(); private final Queue<Throwable> globalFailures = new ConcurrentLinkedQueue<>(); - private final ConcurrentHashMap<Description, List<Throwable>> dynamicTestToFailures = + private final ConcurrentMap<Description, List<Throwable>> dynamicTestToFailures = new ConcurrentHashMap<>(); @Nullable private volatile TestInterval runTimeInterval = null; @@ -257,4 +258,4 @@ class TestCaseNode extends TestNode implements TestPropertyExporter.Callback { return status; } } -}
\ No newline at end of file +} |