[write_standby]: Increase timeout to 60s (#10065)

- Avoid scenarios where script times out before orchagent can establish IPinIP tunnel

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
This commit is contained in:
Lawrence Lee 2022-02-24 14:55:45 -08:00 committed by GitHub
parent fd22635de0
commit a50d1f1fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ class MuxStateWriter(object):
tunnel_key_pattern = 'ASIC_STATE:SAI_OBJECT_TYPE_TUNNEL:*'
return len(self.asic_db.keys('ASIC_DB', tunnel_key_pattern)) > 0
def wait_for_tunnel(self, interval=1, timeout=30):
def wait_for_tunnel(self, interval=1, timeout=60):
"""
Waits until the IP-in-IP tunnel has been created