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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
