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
@@ -216,7 +216,7 @@ for run in $server_tests; do
test_error "tmux failure on test %s\n" "$run"
fi
# Check for mosh failures
if ! grep -q "%%% exitstatus: 0 %%%" "${test_dir}/${run}.tmux.log"; then
if ! grep -q "@@@ exitstatus: 0 @@@" "${test_dir}/${run}.tmux.log"; then
test_error "mosh-client had non-zero exitstatus\n"
fi