Increase read properties timeout in state.py
- Timeouts have occured in simulation firmware testing. Increase
timeout from 10 to 30 seconds to fix the problem.
Signed-off-by: David Shaw <dlshaw@us.ibm.com>
Change-Id: Ib4ebf18ac9b10002212ddef5fbd6019603fe3182
diff --git a/lib/state.py b/lib/state.py
index d2e0853..c193c5a 100755
--- a/lib/state.py
+++ b/lib/state.py
@@ -570,7 +570,7 @@
state = DotDict()
if need_rest:
cmd_buf = ["Read Properties", SYSTEM_STATE_URI + "enumerate",
- "quiet=${" + str(quiet) + "}"]
+ "quiet=${" + str(quiet) + "}", "timeout=30"]
gp.dprint_issuing(cmd_buf)
status, ret_values = \
BuiltIn().run_keyword_and_ignore_error(*cmd_buf)