mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Added timestamps to exhastive abort_via_poll test (-k option).
git-svn-id: file:///svn/toku/tokudb@21084 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
12f96cf9d9
commit
0498c6e405
1 changed files with 14 additions and 3 deletions
|
@ -920,7 +920,10 @@ int test_main(int argc, char * const *argv) {
|
||||||
do_args(argc, argv);
|
do_args(argc, argv);
|
||||||
if (test_only_abort_via_poll) {
|
if (test_only_abort_via_poll) {
|
||||||
printf("Testing only normal operation and abort via polling, but test abort_via_polling exhaustively.\n");
|
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);
|
run_test(commit, 0);
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
printf("\n\nTesting loader with abort_via_polling exhaustively,\n");
|
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++) {
|
for (int i = 1; i < poll_count_nominal+1; i++) {
|
||||||
const char * err_type = err_type_str(abort_via_poll);
|
const char * err_type = err_type_str(abort_via_poll);
|
||||||
const char * err_msg_type = err_msg_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) {
|
||||||
err_msg_type, err_type, i, poll_count_nominal);
|
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);
|
run_test(abort_via_poll, i);
|
||||||
}
|
}
|
||||||
|
if (verbose) {
|
||||||
|
print_time_now();
|
||||||
|
printf(": Done.\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
run_all_tests();
|
run_all_tests();
|
||||||
|
|
Loading…
Add table
Reference in a new issue