aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Linkeš <juraj.linkes@pantheon.tech>2023-04-26 13:34:55 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2023-05-12 04:36:56 +0000
commitc3233bc7565d41301b4e42a4bc7b94c219a8b7a7 (patch)
treef2e6b0c4fd38fd44526fa25cbe5bdca672213c32
parent85677c8f1b0539ef7e7d2412645dd9013a79e886 (diff)
fix(qemu): increase vm boot time
On 3n-tsh testbed, the vm sometimes times out when booting. Increasing the timeout is harmless since it doesn't affect perfomance. JIRA: CSIT-1877 Change-Id: I45eebdfba2fcd7c9a0be083ebb3515d37724e965 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
-rw-r--r--resources/libraries/python/QemuUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py
index 53559f52e9..2df89ee87c 100644
--- a/resources/libraries/python/QemuUtils.py
+++ b/resources/libraries/python/QemuUtils.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2022 Cisco and/or its affiliates.
+# Copyright (c) 2022-2023 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -605,7 +605,7 @@ class QemuUtils:
except AttributeError:
self._wait_default()
- def _wait_default(self, retries=60):
+ def _wait_default(self, retries=120):
"""Wait until QEMU with VPP is booted.
:param retries: Number of retries.