Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption

Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19061
This commit is contained in:
Marcus Eriksson 2023-11-27 13:24:47 +01:00
parent f6ea362d71
commit db52bef03a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};