Skip to content

Commit

Permalink
test: bump system-stubs-jupiter to 2.0.1 to support Java 16+
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Jul 19, 2022
1 parent b452d8c commit 58d6fa0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jmh.version=1.12
javaee-api.version=6.0
junit4.version=4.13
junit5.version=5.8.2
junit5-system-stubs-jupiter.version=1.2.0
junit5-system-stubs-jupiter.version=2.0.1
logback.version=1.1.2
org.apache.felix.framework.version=7.0.5
org.ops4j.pax.exam.version=4.13.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
* calls like {@code System#getProperty} and {@code System#getenv}.
* <p>The tests should be run in isolation to prevent concurrent modification of properties and
* the environment.</p>
* <p>Note: environment mocking works from a single thread only until
* <a href="https://github.com/webcompere/system-stubs/pull/46">Fix multi-threaded
* environment variable mocking</a>, and <a href="https://github.com/mockito/mockito/issues/2142">Mocked
* static methods are not available in other threads</a> are resolved</p>
*/
@Isolated
@ExtendWith(SystemStubsExtension.class)
Expand Down

0 comments on commit 58d6fa0

Please sign in to comment.