You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2023/04/17 15:55:09 UTC

[cassandra] 02/04: Remove deprecated identity test

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

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

commit 0e56721941e1c99b926ff6b1296ff760dc03ed10
Author: Brandon Williams <br...@apache.org>
AuthorDate: Mon Apr 17 10:20:58 2023 -0500

    Remove deprecated identity test
---
 test/unit/org/apache/cassandra/db/lifecycle/HelpersTest.java | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/test/unit/org/apache/cassandra/db/lifecycle/HelpersTest.java b/test/unit/org/apache/cassandra/db/lifecycle/HelpersTest.java
index 243d474810..3aaf1ea619 100644
--- a/test/unit/org/apache/cassandra/db/lifecycle/HelpersTest.java
+++ b/test/unit/org/apache/cassandra/db/lifecycle/HelpersTest.java
@@ -121,18 +121,6 @@ public class HelpersTest
         }
         Assert.assertTrue(failure);
 
-        failure = false;
-        try
-        {
-            Map<Integer, Integer> notIdentity = ImmutableMap.of(1, Integer.valueOf(1), 2, 2, 3, 3);
-            Helpers.replace(notIdentity, a, b);
-        }
-        catch (AssertionError e)
-        {
-            failure = true;
-        }
-        Assert.assertTrue(failure);
-
         // check it actually works when correct values provided
         check(Helpers.replace(a, a, b), b);
     }


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