Commit 0498c6e4 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

Added timestamps to exhastive abort_via_poll test (-k option).

git-svn-id: file:///svn/toku/tokudb@21084 c7de825b-a66e-492c-adef-691d508d4ae1
parent 12f96cf9
......@@ -920,7 +920,10 @@ int test_main(int argc, char * const *argv) {
do_args(argc, argv);
if (test_only_abort_via_poll) {
printf("Testing only normal operation and abort via polling, but test abort_via_polling exhaustively.\n");
if (verbose) printf("\n\nTesting loader with loader close and txn commit (normal)\n");
if (verbose) {
print_time_now();
printf(": Testing loader with loader close and txn commit (normal)\n");
}
run_test(commit, 0);
if (verbose) {
printf("\n\nTesting loader with abort_via_polling exhaustively,\n");
......@@ -929,10 +932,18 @@ int test_main(int argc, char * const *argv) {
for (int i = 1; i < poll_count_nominal+1; i++) {
const char * err_type = err_type_str(abort_via_poll);
const char * err_msg_type = err_msg_type_str(abort_via_poll);
if (verbose) printf("\n\nTesting loader with %s induced at %s count %d (of %d)\n",
if (verbose) {
print_time_now();
printf(": Testing loader with %s induced at %s count %d (of %d)\n",
err_msg_type, err_type, i, poll_count_nominal);
print_time_now();
}
run_test(abort_via_poll, i);
}
if (verbose) {
print_time_now();
printf(": Done.\n");
}
}
else
run_all_tests();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment