sstables: fix test position

This is my turn to make the same mistake as Nadav recently made: I have
written down the expected position from the test output itself, instead
of checking the file.

A position of 0x400c0000000000 is obviously ridiculous. The file itself is not
that big. My recent patch to fix the summary broke the test, and so we need to
fix it.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
This commit is contained in:
Glauber Costa
2015-05-21 12:19:33 -04:00
committed by Tomasz Grabiec
parent 1e44a5ecbc
commit 84cbe7c862

View File

@@ -179,7 +179,7 @@ SEASTAR_TEST_CASE(big_summary_query_0) {
}
SEASTAR_TEST_CASE(big_summary_query_32) {
return summary_query<32, 0x400c0000000000, 182>("tests/urchin/sstables/bigsummary", 76);
return summary_query<32, 0xc4000, 182>("tests/urchin/sstables/bigsummary", 76);
}
static future<sstable_ptr> do_write_sst(sstring dir, unsigned long generation) {