mirror of https://github.com/apache/cassandra
Test failure: org.apache.cassandra.db.CorruptPrimaryIndexTest.bigPrimaryIndexDoesNotDetectDiskCorruption
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-19061
This commit is contained in:
parent
f6ea362d71
commit
db52bef03a
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue