tests: improve robustness

Replace some blind timeouts with actual synchronization.
Improve performance on some slow tests.
Tweak some of the remaining timeouts.

This still isn't good enough to get 'make -j9 check'
working reliably on Cygwin for me; I think some Cygwin/
Windows scheduling issues remain.
This commit is contained in:
John Hood
2016-09-20 01:54:45 -04:00
parent e494025b24
commit 477729b315
11 changed files with 73 additions and 49 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ baseline()
# delays so that each iteration percolates to the client
# by itself. On the other hand, that makes the test take
# a long time. Compromise on .1 second.
(sleep .1 || sleep 1) > /dev/null 2>&1
sleepf
done
done
}