You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ma...@apache.org on 2023/11/28 08:42:47 UTC
(cassandra) 03/04: Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption
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 <ma...@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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org