You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (Jira)" <ji...@apache.org> on 2025/03/13 16:19:00 UTC

[jira] [Created] (CASSANDRA-20437) Fix SSTableReader interval mock in UnifiedCompactionStrategyTest

Ariel Weisberg created CASSANDRA-20437:
------------------------------------------

             Summary: Fix SSTableReader interval mock in UnifiedCompactionStrategyTest
                 Key: CASSANDRA-20437
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20437
             Project: Apache Cassandra
          Issue Type: Bug
          Components: Test/dtest/java
            Reporter: Ariel Weisberg


This can randomly fail because the mocked {{SSTableReader}} doesn’t implement {{Comparable}} and the generated {{compareTo}} method from Mockito blatantly violates the contract for {{compareTo}} causing sorts to generate an error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org