Commit 90586a7d authored by Jim Harris's avatar Jim Harris Committed by Darek Stojaczyk
Browse files

test/rocksdb: suppress leak reports on thread local ctx

parent 654f5a8d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
leak:spdk_fs_alloc_thread_ctx
+5 −0
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@ run_step() {
	echo "--spdk_cache_size=$CACHE_SIZE" >> "$1"_flags.txt

	echo -n Start $1 test phase...
	# ASAN has some bugs around thread_local variables.  We have a destructor in place
	# to free the thread contexts, but ASAN complains about the leak before those
	# destructors have a chance to run.  So suppress this one specific leak using
	# LSAN_OPTIONS.
	export LSAN_OPTIONS="suppressions=$testdir/lsan_suppressions.txt"
	/usr/bin/time taskset 0xFF $DB_BENCH --flagfile="$1"_flags.txt &> "$1"_db_bench.txt
	echo done.
}