This is an automated email from the ASF dual-hosted git repository. marcuse pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit db52bef03a0595bbc679756053ccec1a37e86c23 Author: Marcus Eriksson <marc...@apache.org> AuthorDate: Mon Nov 27 13:24:47 2023 +0100 Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19061 --- test/unit/org/apache/cassandra/db/CorruptPrimaryIndexTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/org/apache/cassandra/db/CorruptPrimaryIndexTest.java b/test/unit/org/apache/cassandra/db/CorruptPrimaryIndexTest.java index ba9f9fdd4c..ce3ccf0b30 100644 --- a/test/unit/org/apache/cassandra/db/CorruptPrimaryIndexTest.java +++ b/test/unit/org/apache/cassandra/db/CorruptPrimaryIndexTest.java @@ -41,7 +41,7 @@ public class CorruptPrimaryIndexTest extends CQLTester.InMemory if (!path.getFileName().toString().endsWith(endsWith)) return false; Descriptor desc = Descriptor.fromFile(new File(path)); - if (!desc.ksname.equals(keyspace) && desc.cfname.equals(currentTable())) + if (!desc.ksname.equals(keyspace) || !desc.cfname.equals(currentTable())) return false; return true; }; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org