Skip to content

Commit

Permalink
Suppress the parallel warning during coverage calculation
Browse files Browse the repository at this point in the history
As we properly serialize the coverage calculation, the warning
that is logged after detecting multiple threads can be suppressed.
  • Loading branch information
Vampire committed May 19, 2023
1 parent b1ffc1f commit 3138d20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<junit.platform.version>1.9.2</junit.platform.version>
<junit.version>5.9.2</junit.version>
<mockito.version>2.7.6</mockito.version>
<pitest.version>1.9.0</pitest.version>
<pitest.version>1.13.2</pitest.version>
<cucumber.version>5.0.0</cucumber.version>
<spock.version>2.3-groovy-4.0</spock.version>
<junit4.version>4.13.2</junit4.version>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/pitest/junit5/JUnit5TestUnitFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void executionStarted(TestIdentifier testIdentifier) {
lock(testIdentifier);
}

l.executionStarted(new Description(testIdentifier.getUniqueId(), testClass));
l.executionStarted(new Description(testIdentifier.getUniqueId(), testClass), true);
identifiers.add(testIdentifier);
}
return;
Expand All @@ -211,7 +211,7 @@ && hasMethodSource(testIdentifier)
parentCoverageSerializers.put(testIdentifier.getUniqueIdObject(), new AtomicReference<>());
}

l.executionStarted(new Description(testIdentifier.getUniqueId(), testClass));
l.executionStarted(new Description(testIdentifier.getUniqueId(), testClass), true);
identifiers.add(testIdentifier);
}
}
Expand Down

0 comments on commit 3138d20

Please sign in to comment.