mirror of https://github.com/apache/cassandra
ninja fix LegacySSTable test with new versioned files from 2.0
This commit is contained in:
parent
0b8fb5bb92
commit
ae374107b7
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
c22f034592ec31b1998083a34c1593538e8f1ea1 Keyspace1-Standard1-ic-0-Data.db
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
4a9f1896a599e4b3ff5d19600901de1a0b851bc1 Keyspace1-Standard1-jb-0-Data.db
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,8 @@
|
|||
Data.db
|
||||
TOC.txt
|
||||
Index.db
|
||||
TOC.txt
|
||||
Summary.db
|
||||
Filter.db
|
||||
Statistics.db
|
||||
Data.db
|
||||
CRC.db
|
||||
Digest.sha1
|
||||
|
|
@ -143,9 +143,18 @@ public class LegacySSTableTest extends SchemaLoader
|
|||
@Test
|
||||
public void testVersions() throws Throwable
|
||||
{
|
||||
boolean notSkipped = false;
|
||||
|
||||
for (File version : LEGACY_SSTABLE_ROOT.listFiles())
|
||||
{
|
||||
if (Descriptor.Version.validate(version.getName()) && new Descriptor.Version(version.getName()).isCompatible())
|
||||
{
|
||||
notSkipped = true;
|
||||
testVersion(version.getName());
|
||||
}
|
||||
}
|
||||
|
||||
assert notSkipped;
|
||||
}
|
||||
|
||||
public void testVersion(String version) throws Throwable
|
||||
|
|
|
|||
Loading…
Reference in New Issue