summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2020-02-07 12:46:07 -0600
committerMatt Spinler <spinler@us.ibm.com>2020-02-13 14:59:58 +0000
commit6aae6a0caee074b65f4eb935677f207bf9acb841 (patch)
tree8eb28c76089a4baf81b461986a22d59910766ba3
parentce3f450b97b56fbf639cd4a271a3ba124b5d6406 (diff)
downloadphosphor-logging-6aae6a0caee074b65f4eb935677f207bf9acb841.tar.gz
phosphor-logging-6aae6a0caee074b65f4eb935677f207bf9acb841.zip
PEL: Increase host full timeout val in test
The host notifier testcase depends on catching the host full retry timer after it starts but before it trips. Occasionally in CI when a lot of of work is being done in parallel this wasn't happening so the testcase would fail. Increase the timeout value from 20ms to 400ms which is hopefully enough. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id8d1c7a800f9da932d85da7ed3bf6d6e5400a24e
-rw-r--r--test/openpower-pels/mocks.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openpower-pels/mocks.hpp b/test/openpower-pels/mocks.hpp
index e00e006..8b055dd 100644
--- a/test/openpower-pels/mocks.hpp
+++ b/test/openpower-pels/mocks.hpp
@@ -109,7 +109,7 @@ class MockHostInterface : public HostInterface
*/
virtual std::chrono::milliseconds getHostFullRetryDelay() const override
{
- return std::chrono::milliseconds(20);
+ return std::chrono::milliseconds(400);
}
/**
OpenPOWER on IntegriCloud