diff --git a/tests/sstable_3_x_test.cc b/tests/sstable_3_x_test.cc index 589b9e01ec..c748ac6329 100644 --- a/tests/sstable_3_x_test.cc +++ b/tests/sstable_3_x_test.cc @@ -4219,7 +4219,7 @@ SEASTAR_THREAD_TEST_CASE(test_write_range_tombstone_same_end_with_row) { // DELETE FROM range_tombstone_same_end_with_row USING TIMESTAMP 1525385507816568 WHERE pk = 0 AND ck1 = 'aaa' AND ck2 <= 'bbb'; { - gc_clock::time_point tp = gc_clock::time_point{} + gc_clock::duration{1529099073}; + gc_clock::time_point tp = gc_clock::time_point{} + gc_clock::duration{1544091863}; tombstone tomb{ts, tp}; range_tombstone rt{clustering_key_prefix::from_single_value(*s, bytes("aaa")), clustering_key_prefix::from_deeply_exploded(*s, {"aaa", "bbb"}), tomb}; @@ -4236,7 +4236,9 @@ SEASTAR_THREAD_TEST_CASE(test_write_range_tombstone_same_end_with_row) { lw_shared_ptr mt = make_lw_shared(s); mt->apply(mut); - write_and_compare_sstables(s, mt, table_name); + tmpdir tmp = write_and_compare_sstables(s, mt, table_name); + auto written_sst = validate_read(s, tmp.path, {mut}); + validate_stats_metadata(s, written_sst, table_name); } SEASTAR_THREAD_TEST_CASE(test_write_overlapped_start_range_tombstones) { diff --git a/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-Statistics.db b/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-Statistics.db index a3a23c31cb..eab4985511 100644 Binary files a/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-Statistics.db and b/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-Statistics.db differ diff --git a/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-TOC.txt b/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-TOC.txt new file mode 100644 index 0000000000..ba1fabad12 --- /dev/null +++ b/tests/sstables/3.x/uncompressed/write_range_tombstone_same_end_with_row/mc-1-big-TOC.txt @@ -0,0 +1,6 @@ +Data.db +Digest.crc32 +Index.db +TOC.txt +Filter.db +Statistics.db