Browse Source

Bump signal wait time

When unit tests are being run in TeamCity the host box can end up being
very bogged down with other builds. So need to up wait time, to take
into account CPUs grinding.
QGC4.4
Don Gagne 11 years ago
parent
commit
2076d3d487
  1. 2
      src/qgcunittest/TCPLinkTest.cc

2
src/qgcunittest/TCPLinkTest.cc

@ -150,7 +150,7 @@ void TCPLinkUnitTest::_connectSucceed_test(void) @@ -150,7 +150,7 @@ void TCPLinkUnitTest::_connectSucceed_test(void)
QCOMPARE(_link->connect(), true);
// Make sure we get the two different connected signals
QCOMPARE(_multiSpy->waitForSignalByIndex(connectedSignalIndex, 1000), true);
QCOMPARE(_multiSpy->waitForSignalByIndex(connectedSignalIndex, 10000), true);
QCOMPARE(_multiSpy->checkOnlySignalByMask(connectedSignalMask | connected2SignalMask), true);
QList<QVariant> arguments = _multiSpy->getSpyByIndex(connected2SignalIndex)->takeFirst();
QCOMPARE(arguments.at(0).toBool(), true);

Loading…
Cancel
Save