diff --git a/src/qgcunittest/FileManagerTest.h b/src/qgcunittest/FileManagerTest.h index 1f1dd1ab65eba20b1ee636df0f077b29a3591c28..50ab8af903f90c9da4d3bcb3ab8b4926604d754b 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; };