Skip to content

Commit 8e2ee00

Browse files
committed
tests: add ConcurrentMap exception to blockhound
Parallel tests falsly failing due to the simulateneuse access to ConcurrentMap.put To avoid that let's add it to exception.
1 parent 8af25f5 commit 8e2ee00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/java/com/datastax/oss/driver/internal/core/util/concurrent/DriverBlockHoundIntegration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,11 @@ public void applyTo(BlockHound.Builder builder) {
107107
builder.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor", "addTask");
108108
builder.allowBlockingCallsInside(
109109
"io.netty.util.concurrent.SingleThreadEventExecutor", "addTask");
110+
111+
// Exceptions for scylla-java-driver-matrix
112+
113+
// Various parallelizable tests sometimes fail due to ConcurrentMap's put.
114+
builder.allowBlockingCallsInside(
115+
"com.datastax.oss.driver.shaded.guava.common.collect.MapMakerInternalMap", "put");
110116
}
111117
}

0 commit comments

Comments
 (0)