diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 801cfc313101..3f028da98a66 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -338,6 +338,8 @@ private static int getSchemaDelay() private final SamplingManager samplingManager = new SamplingManager(); + // Newer versions of mockito contain mockito-inline which creates an issue in our test environment. Without this + // change, mocking of static methods is a problem with our DTest framework @VisibleForTesting // this is used for dtests only, see CASSANDRA-18152 public volatile boolean skipNotificationListeners = false;