You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jk...@apache.org on 2026/02/06 22:30:05 UTC

(cassandra-analytics) branch trunk updated: CASSANALYTICS-117 Fix test failures in trunk (#167)

This is an automated email from the ASF dual-hosted git repository.

jkonisa pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-analytics.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2e157619 CASSANALYTICS-117 Fix test failures in trunk (#167)
2e157619 is described below

commit 2e1576199462e06d1ee541e9cf975099c4902c34
Author: Jyothsna konisa <jk...@apple.com>
AuthorDate: Fri Feb 6 14:29:58 2026 -0800

    CASSANALYTICS-117 Fix test failures in trunk (#167)
    
    Patch by Jyothsna Konisa; Reviewed by Bernardo Botella for CASSANALYTICS-117
---
 .../cassandra/spark/data/partitioner/ConsistencyLevelTests.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cassandra-analytics-common/src/test/java/org/apache/cassandra/spark/data/partitioner/ConsistencyLevelTests.java b/cassandra-analytics-common/src/test/java/org/apache/cassandra/spark/data/partitioner/ConsistencyLevelTests.java
index 523b2da6..0e6792fd 100644
--- a/cassandra-analytics-common/src/test/java/org/apache/cassandra/spark/data/partitioner/ConsistencyLevelTests.java
+++ b/cassandra-analytics-common/src/test/java/org/apache/cassandra/spark/data/partitioner/ConsistencyLevelTests.java
@@ -196,14 +196,14 @@ public class ConsistencyLevelTests
         // Test a few other consistency levels to ensure they all throw exceptions
         assertThatThrownBy(() -> ConsistencyLevel.ONE.eachQuorumBlockFor(replicationFactor))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is:ONE");
+        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is: ONE");
 
         assertThatThrownBy(() -> ConsistencyLevel.LOCAL_QUORUM.eachQuorumBlockFor(replicationFactor))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is:LOCAL_QUORUM");
+        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is: LOCAL_QUORUM");
 
         assertThatThrownBy(() -> ConsistencyLevel.ALL.eachQuorumBlockFor(replicationFactor))
         .isInstanceOf(IllegalArgumentException.class)
-        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is:ALL");
+        .hasMessageContaining("Consistency level needed is EACH_QUORUM, provided is: ALL");
     }
 }


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