fix(qemu): increase vm boot time 32/38732/3
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Wed, 26 Apr 2023 11:34:55 +0000 (13:34 +0200)
committerPeter Mikus <peter.mikus@protonmail.ch>
Fri, 12 May 2023 04:36:56 +0000 (04:36 +0000)
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>
resources/libraries/python/QemuUtils.py

index 53559f5..2df89ee 100644 (file)
@@ -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.