diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-08-22 13:29:08 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-22 13:29:08 +0000 |
commit | fb771c0cf876ad58c50551b90dacc0b5689dae05 (patch) | |
tree | 1191636f678761d37d4c7959ae9d5edbde46e28c /src/lib/tests/timerwheel_test.c | |
parent | 589b91b7422d3923045c3422a5b790b26162439a (diff) | |
parent | 514791e5c6ded690aaf6dc43709dd02bc6a2ff6a (diff) | |
download | ouroboros-fb771c0cf876ad58c50551b90dacc0b5689dae05.tar.gz ouroboros-fb771c0cf876ad58c50551b90dacc0b5689dae05.zip |
Merged in sandervrijders/ouroboros/be-tw (pull request #560)
Be tw
Diffstat (limited to 'src/lib/tests/timerwheel_test.c')
-rw-r--r-- | src/lib/tests/timerwheel_test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/tests/timerwheel_test.c b/src/lib/tests/timerwheel_test.c index d9ca164e..d7478487 100644 --- a/src/lib/tests/timerwheel_test.c +++ b/src/lib/tests/timerwheel_test.c @@ -91,14 +91,12 @@ int timerwheel_test(int argc, char ** argv) nanosleep(&wait, NULL); - /* On some systems and VMs, the scheduler may be too slow. */ - if (total != check_total) - nanosleep(&wait, NULL); + timerwheel_move(tw); timerwheel_destroy(tw); if (total != check_total) { - printf("Totals do not match.\n"); + printf("Totals do not match: %d and %d.\n", total, check_total); return -1; } |