summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>