diff options
author | Felix Lechner <felix.lechner@lease-up.com> | 2017-09-02 09:57:43 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2018-10-31 09:18:06 -0300 |
commit | f7a68e78f41220b003ad74fe27f7f8769cbf6c2b (patch) | |
tree | 4d4cee92f5be473d56f073ccc52a22ef7c644dd1 /test/tests | |
parent | 73f77f6fe61640a3e420fb375d6f58f2d0052521 (diff) |
Remove race conditions from tests
Testing the qmqp protocol fails because the testing server cannot
acquire the lock. This is solved by waiting for the previous
server to exit gracefully and clear the lock. Similarly, wait
before removing temporary directories.
Forwarded: no
Last-Update: 2017-10-07
Gbp-Pq: Name 0001-Remove-race-conditions-from-tests.patch
Diffstat (limited to 'test/tests')
-rw-r--r-- | test/tests/protocols | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tests/protocols b/test/tests/protocols index 8f79737..f6be2c8 100644 --- a/test/tests/protocols +++ b/test/tests/protocols @@ -64,6 +64,7 @@ do echo "Testing protocol failure with $p." error 11 protocol $p -p $port --host=localhost 3<testmail stop server + wait done rm -f testmail |