From 60053e1b2287bf06fd59d14b198d2cac4264bd44 Mon Sep 17 00:00:00 2001 From: ekaterinadimitrova2 Date: Thu, 24 Oct 2024 16:40:25 -0400 Subject: [PATCH] Add some comment clarification from CNDB-11356, the rest is already here --- src/java/org/apache/cassandra/service/StorageService.java | 2 ++ 1 file changed, 2 insertions(+) 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;