@ -536,236 +536,34 @@ ifeq ($(USE_FOLLY_DISTRIBUTED_MUTEX),1)
ALL_SOURCES += third-party/folly/folly/synchronization/test/DistributedMutexTest.cc
ALL_SOURCES += third-party/folly/folly/synchronization/test/DistributedMutexTest.cc
e n d i f
e n d i f
PARALLEL_TEST = \
# options_settable_test doesn't pass with UBSAN as we use hack in the test
backupable_db_test \
i f d e f C O M P I L E _ W I T H _ U B S A N
db_bloom_filter_test \
TESTS := $( shell echo $( TESTS) | sed 's/\boptions_settable_test\b//g' )
db_compaction_filter_test \
e n d i f
db_compaction_test \
i f d e f A S S E R T _ S T A T U S _ C H E C K E D
db_merge_operator_test \
# TODO: finish fixing all tests to pass this check
db_sst_test \
TESTS_FAILING_ASC = \
db_test \
db_test \
db_test2 \
db_test2 \
db_universal_compaction_test \
db_wal_test \
column_family_test \
external_sst_file_test \
import_column_family_test \
fault_injection_test \
file_reader_writer_test \
inlineskiplist_test \
manual_compaction_test \
persistent_cache_test \
table_test \
transaction_test \
point_lock_manager_test \
range_locking_test \
range_locking_test \
write_prepared_transaction_test \
testutil_test \
write_unprepared_transaction_test \
i f e q ( $( USE_FOLLY_DISTRIBUTED_MUTEX ) , 1 )
# Since we have very few ASC exclusions left, excluding them from
TESTS += folly_synchronization_distributed_mutex_test
# the build is the most convenient way to exclude them from testing
PARALLEL_TEST += folly_synchronization_distributed_mutex_test
TESTS := $( filter-out $( TESTS_FAILING_ASC) ,$( TESTS) )
TESTS_PASSING_ASC = folly_synchronization_distributed_mutex_test
e n d i f
e n d i f
# options_settable_test doesn't pass with UBSAN as we use hack in the test
ROCKSDBTESTS_SUBSET ?= $( TESTS)
i f d e f C O M P I L E _ W I T H _ U B S A N
TESTS := $( shell echo $( TESTS) | sed 's/\boptions_settable_test\b//g' )
# env_test - suspicious use of test::TmpDir
e n d i f
# deletefile_test - serial because it generates giant temporary files in
i f d e f A S S E R T _ S T A T U S _ C H E C K E D
# its various tests. Parallel can fill up your /dev/shm
# This is a new check for which we will add support incrementally. This
NON_PARALLEL_TEST = \
# list can be removed once support is fully added.
TESTS_PASSING_ASC = \
arena_test \
autovector_test \
cache_test \
lru_cache_test \
blob_file_addition_test \
blob_file_builder_test \
blob_file_cache_test \
blob_file_garbage_test \
blob_file_reader_test \
bloom_test \
cassandra_format_test \
cassandra_functional_test \
cassandra_row_merge_test \
cassandra_serialize_test \
cleanable_test \
checkpoint_test \
coding_test \
crc32c_test \
dbformat_test \
db_basic_test \
compact_files_test \
compaction_picker_test \
comparator_db_test \
db_encryption_test \
db_iter_test \
db_iter_stress_test \
db_log_iter_test \
db_bloom_filter_test \
db_blob_basic_test \
db_blob_compaction_test \
db_blob_corruption_test \
db_blob_index_test \
db_block_cache_test \
db_compaction_test \
db_compaction_filter_test \
db_dynamic_level_test \
db_flush_test \
db_inplace_update_test \
db_io_failure_test \
db_iterator_test \
db_kv_checksum_test \
db_logical_block_size_cache_test \
db_memtable_test \
db_merge_operand_test \
db_merge_operator_test \
db_wal_test \
db_with_timestamp_basic_test \
db_with_timestamp_compaction_test \
db_write_test \
db_options_test \
db_properties_test \
db_range_del_test \
db_secondary_test \
deletefile_test \
external_sst_file_test \
options_file_test \
db_sst_test \
db_statistics_test \
db_table_properties_test \
db_tailing_iter_test \
fault_injection_test \
listener_test \
log_test \
manual_compaction_test \
obsolete_files_test \
perf_context_test \
periodic_work_scheduler_test \
perf_context_test \
version_set_test \
wal_manager_test \
defer_test \
filename_test \
dynamic_bloom_test \
env_basic_test \
env_test \
env_test \
env_logger_test \
deletefile_test \
event_logger_test \
error_handler_fs_test \
external_sst_file_basic_test \
auto_roll_logger_test \
file_indexer_test \
delete_scheduler_test \
flush_job_test \
hash_table_test \
hash_test \
heap_test \
histogram_test \
inlineskiplist_test \
io_posix_test \
iostats_context_test \
ldb_cmd_test \
memkind_kmem_allocator_test \
merge_test \
merger_test \
mock_env_test \
object_registry_test \
optimistic_transaction_test \
prefix_test \
plain_table_db_test \
repair_test \
configurable_test \
customizable_test \
options_settable_test \
options_test \
point_lock_manager_test \
random_access_file_reader_test \
random_test \
range_del_aggregator_test \
sst_file_reader_test \
range_tombstone_fragmenter_test \
repeatable_thread_test \
ribbon_test \
skiplist_test \
slice_test \
slice_transform_test \
sst_dump_test \
statistics_test \
stats_history_test \
stringappend_test \
thread_local_test \
trace_analyzer_test \
transaction_test \
env_timed_test \
filelock_test \
timer_queue_test \
timer_test \
options_util_test \
persistent_cache_test \
util_merge_operators_test \
block_cache_trace_analyzer_test \
block_cache_tracer_test \
cache_simulator_test \
sim_cache_test \
version_builder_test \
version_edit_test \
work_queue_test \
write_buffer_manager_test \
write_controller_test \
write_prepared_transaction_test \
write_unprepared_transaction_test \
compaction_iterator_test \
compaction_job_test \
compaction_job_stats_test \
io_tracer_test \
io_tracer_parser_test \
prefetch_test \
merge_helper_test \
memtable_list_test \
flush_job_test \
block_based_filter_block_test \
block_fetcher_test \
block_test \
data_block_hash_index_test \
full_filter_block_test \
partitioned_filter_block_test \
column_family_test \
file_reader_writer_test \
rate_limiter_test \
corruption_test \
reduce_levels_test \
thread_list_test \
compact_on_deletion_collector_test \
db_universal_compaction_test \
import_column_family_test \
option_change_migration_test \
cuckoo_table_builder_test \
cuckoo_table_db_test \
cuckoo_table_reader_test \
memory_test \
table_test \
backupable_db_test \
blob_db_test \
ttl_test \
write_batch_test \
write_batch_with_index_test \
i f e q ( $( USE_FOLLY_DISTRIBUTED_MUTEX ) , 1 )
PARALLEL_TEST = $( filter-out $( NON_PARALLEL_TEST) , $( TESTS) )
TESTS_PASSING_ASC += folly_synchronization_distributed_mutex_test
e n d i f
# Enable building all unit tests, but use check_some to run only tests
# known to pass ASC (ASSERT_STATUS_CHECKED)
ROCKSDBTESTS_SUBSET ?= $( TESTS_PASSING_ASC)
# Alternate: only build unit tests known to pass ASC, and run them
# with make check
#TESTS := $(filter $(TESTS_PASSING_ASC),$(TESTS))
#PARALLEL_TEST := $(filter $(TESTS_PASSING_ASC),$(PARALLEL_TEST))
e l s e
ROCKSDBTESTS_SUBSET ?= $( TESTS)
e n d i f
# Not necessarily well thought out or up-to-date, but matches old list
# Not necessarily well thought out or up-to-date, but matches old list
TESTS_PLATFORM_DEPENDENT := \
TESTS_PLATFORM_DEPENDENT := \
db_basic_test \
db_basic_test \