tools: bump up timeout for polling to ~5.5 minutes
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I384734c592e39a01c5531d3d7d6c79474c2b0b44
diff --git a/tools/helper.cpp b/tools/helper.cpp
index ad2c60d..d3fef48 100644
--- a/tools/helper.cpp
+++ b/tools/helper.cpp
@@ -38,7 +38,12 @@
try
{
- static constexpr int commandAttempts = 20;
+ /* sleep for 5 seconds and check 65 times, for a timeout of: 325
+ * seconds.
+ * TODO: make this command line configurable and provide smaller
+ * default value.
+ */
+ static constexpr int commandAttempts = 65;
int attempts = 0;
bool exitLoop = false;