summaryrefslogtreecommitdiffstats
path: root/container-search/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-11-04 17:58:45 +0100
committergjoranv <gv@verizonmedia.com>2021-11-04 21:05:19 +0100
commitd569c11114300bc4c21ac2ac0c05b81806f24365 (patch)
treef4e541923b618227a99a2856c57d7e93acf00403 /container-search/pom.xml
parenta3acc0d0e150d90c31b6d169291f7632387c4226 (diff)
JDK 17: Open jdk.internal.util.random for mockito/bytebuddy
Diffstat (limited to 'container-search/pom.xml')
-rw-r--r--container-search/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/container-search/pom.xml b/container-search/pom.xml
index 19a486eab73..6417d164019 100644
--- a/container-search/pom.xml
+++ b/container-search/pom.xml
@@ -220,6 +220,16 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- Illegal reflective access in ProbabilisticSampleRateTest by mockito/bytebuddy -->
+ <argLine>
+ --add-opens=java.base/jdk.internal.util.random=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>abi-check-plugin</artifactId>
</plugin>