qt: Increase timeout when waiting for signals.
authorJustus Winter <justus@g10code.com>
Tue, 31 Jan 2017 09:47:00 +0000 (10:47 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 31 Jan 2017 09:47:00 +0000 (10:47 +0100)
commitba594d85e35e63301755977234d3af88a167a215
tree8651445c8564f4f342cace97f9fe98469e90f5b2
parent752d3597ef02a95efd693373132bf1e246f0edb0
qt: Increase timeout when waiting for signals.

* lang/qt/tests/t-support.h (QSIGNALSPY_TIMEOUT): New macro.
* lang/qt/tests/t-encrypt.cpp: Use the new macro as timeout when
waiting for signals.
* lang/qt/tests/t-keylist.cpp: Likewise.
* lang/qt/tests/t-keylocate.cpp: Likewise.
* lang/qt/tests/t-ownertrust.cpp: Likewise.
* lang/qt/tests/t-wkspublish.cpp: Likewise.
--
Increase the timeout when waiting for signals from 5 seconds to 60.
This addresses intermittent test failures on slow machines.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/qt/tests/t-encrypt.cpp
lang/qt/tests/t-keylist.cpp
lang/qt/tests/t-keylocate.cpp
lang/qt/tests/t-ownertrust.cpp
lang/qt/tests/t-support.h
lang/qt/tests/t-wkspublish.cpp