-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(#554) Fixes to get couple of tests running cleanly in ASAN-builds #555
Conversation
✅ Deploy Preview for splinterdb canceled.
|
Examples:" | ||
echo " INCLUDE_SLOW_TESTS=true ./test.sh run_btree_tests" | ||
echo " INCLUDE_SLOW_TESTS=true ./test.sh run_splinter_functionality_tests" | ||
echo " INCLUDE_SLOW_TESTS=true ./test.sh nightly_cache_perf_tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly unrelated change. I needed a way to quickly re-test batches of tests run by this script under ASAN
build modes. So, added this new capability to run a set of tests w/o having to wait for full runs to complete to validate a fix.
if [ $# -ge 1 ]; then | ||
|
||
# shellcheck disable=SC2048 | ||
$* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where the support to re-run manually granular collection of tests is added. This will help expedite dev turnaround during fix stabilization and re-tests.
With these two fixes, my slow re-run of
|
Slow running tests from
|
…ng function. This commit now allows running as "test.sh <fn-name>" interface, where the name of the driving function executing a batch of tests can be run independently, without having to go through full execution of all tests. This helps developers shorten their fix-dev-test cycle, especially when validating quick-fixes for long-running tests, like ASAN / MSAN builds.
This commit fixes minor errors in 2 tests (io_apis_test, filter_test) to get them running cleanly in ASAN-builds.
9531369
to
4dc37ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine
This commit fixes minor errors in 2 tests (io_apis_test, filter_test) to get them running cleanly in ASAN-builds.