pseq: Adjust power good failure wait time
In order to support a potentially longer power supply power good
deglitch time
(https://gerrit.openbmc.org/c/openbmc/phosphor-power/+/55213), change
the wait time after power good failure from 5 to 7 seconds.
Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: Ic0097de90c4f6998a447a76c199b519fd686d210
diff --git a/phosphor-power-sequencer/src/ucd90320_monitor.cpp b/phosphor-power-sequencer/src/ucd90320_monitor.cpp
index 348014c..3f431fb 100644
--- a/phosphor-power-sequencer/src/ucd90320_monitor.cpp
+++ b/phosphor-power-sequencer/src/ucd90320_monitor.cpp
@@ -257,9 +257,9 @@
void UCD90320Monitor::onFailure(bool timeout,
const std::string& powerSupplyError)
{
- // Wait for five seconds before reading device data. This is to allow the
+ // Wait before reading device data. This is to allow the
// power supplies and other hardware time to complete failure processing.
- std::this_thread::sleep_for(std::chrono::seconds(5));
+ std::this_thread::sleep_for(std::chrono::seconds(7));
std::string message;
std::map<std::string, std::string> additionalData{};