From 6c764aa494f449203763162c0f4e426897c6e7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Mon, 18 Sep 2017 15:05:53 +0200 Subject: [PATCH] FileManagerTest: account for retry in the timeout --- src/qgcunittest/FileManagerTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qgcunittest/FileManagerTest.h b/src/qgcunittest/FileManagerTest.h index 1f1dd1ab6..50ab8af90 100644 --- a/src/qgcunittest/FileManagerTest.h +++ b/src/qgcunittest/FileManagerTest.h @@ -72,7 +72,7 @@ private: /// @brief This is the amount of time to wait to allow the FileManager enough time to timeout waiting for an Ack. /// As such it must be larger than the Ack Timeout used by the FileManager. - static const int _ackTimerTimeoutMsecs = FileManager::ackTimerTimeoutMsecs * 2; + static const int _ackTimerTimeoutMsecs = FileManager::ackTimerMaxRetries * FileManager::ackTimerTimeoutMsecs * 2; QStringList _fileListReceived; }; -- 2.22.0