Add upgrade tests for lz4 and snappy compressed 2.2 commit logs

patch by Branimir Lambov; reviewed by Aleksey Yeschenko for
CASSANDRA-9790
This commit is contained in:
Branimir Lambov 2015-07-29 19:33:45 +03:00 committed by Aleksey Yeschenko
parent fb34b79504
commit 5f4cc45cdb
10 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#CommitLog upgrade test, version 2.2.0-SNAPSHOT
#Wed Jul 29 19:21:31 EEST 2015
cells=6052
hash=1274136076
cfid=dc32ce20-360d-11e5-826c-afadad37221d

View File

@ -0,0 +1,5 @@
#CommitLog upgrade test, version 2.2.0-SNAPSHOT
#Wed Jul 29 19:22:01 EEST 2015
cells=6051
hash=881633109
cfid=ee2fe860-360d-11e5-951c-afadad37221d

View File

@ -0,0 +1,5 @@
#CommitLog upgrade test, version 2.2.0-SNAPSHOT
#Wed Jul 29 19:20:21 EEST 2015
cells=6366
hash=-802535821
cfid=b28a7000-360d-11e5-ae92-afadad37221d

View File

@ -68,6 +68,24 @@ public class CommitLogUpgradeTest
testRestore(DATA_DIR + "2.1");
}
@Test
public void test22() throws Exception
{
testRestore(DATA_DIR + "2.2");
}
@Test
public void test22_LZ4() throws Exception
{
testRestore(DATA_DIR + "2.2-lz4");
}
@Test
public void test22_Snappy() throws Exception
{
testRestore(DATA_DIR + "2.2-snappy");
}
@BeforeClass
static public void initialize() throws FileNotFoundException, IOException, InterruptedException
{