Wait for Warm Reset to boot the BMC
There is a contention going on due to delay introduced by Warm
Reset resulting in exception" Error: [Errno 104] Connection reset
by peer".
Warm Reset sleeps for 3 seconds before forcing the system to boot.
To avoid possible race condition, we choose to wait for 7 seconds
before actually checking if the reboot took place.
Currently, the code update fails intermittently.
Resolves openbmc/openbmc-test-automation#229
Change-Id: I80fac7e6df7d89b69c0d58080174dc445bacb498
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed