Module test_utils

Source

Re-exports§

pub use crate::hummock::test_utils::default_builder_opt_for_test;

Constants§

TEST_KEYS_COUNT

Functions§

gen_iterator_test_sstable_base
Generates a test table used in almost all table-related tests. Developers may verify the correctness of their implementations by comparing the got value and the expected value generated by test_key_of and test_value_of.
gen_iterator_test_sstable_from_kv_pair
gen_iterator_test_sstable_info
Generates a test table used in almost all table-related tests. Developers may verify the correctness of their implementations by comparing the got value and the expected value generated by test_key_of and test_value_of.
gen_iterator_test_sstable_with_incr_epoch
gen_iterator_test_sstable_with_range_tombstones
gen_merge_iterator_interleave_test_sstable_iters
iterator_test_bytes_key_of
Generates keys like {table_id=0}key_test_00002 with epoch 233.
iterator_test_bytes_key_of_epoch
Generates keys like {table_id=0}key_test_00002 with epoch epoch .
iterator_test_bytes_user_key_of
iterator_test_key_of
Generates keys like {table_id=0}key_test_00002 with epoch 233.
iterator_test_key_of_epoch
Generates keys like {table_id=0}key_test_00002 with epoch epoch .
iterator_test_table_key_of
iterator_test_user_key_of
iterator_test_value_of
The value of an index, like value_test_00002 without value meta
mock_sstable_store
mock_sstable_store_with_object_store
transform_shared_buffer