From 83219f96cdef4b08e2d6a2b8a1dca5bcb3f625f4 Mon Sep 17 00:00:00 2001 From: Ivan Ivanets Date: Wed, 26 Mar 2025 23:53:05 +0200 Subject: [PATCH] tests: fix test cov Type: test Need to add cli response waiting timeout for test cov for test_session_sdl and test_pg_stream. Change-Id: I3eedfdb0de1ca01d9786742986fbcce2487500e3 Signed-off-by: Ivan Ivanets --- test/asf/asfframework.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/asf/asfframework.py b/test/asf/asfframework.py index 7670a0753d1..8e565d26a52 100644 --- a/test/asf/asfframework.py +++ b/test/asf/asfframework.py @@ -652,6 +652,8 @@ class VppAsfTestCase(CPUInterface, unittest.TestCase): cls.pump_thread.start() if cls.debug_gdb or cls.debug_gdbserver or cls.debug_attach: cls.vapi_response_timeout = 0 + elif config.gcov: + cls.vapi_response_timeout = 20 cls.vapi = VppPapiProvider(cls.__name__, cls, cls.vapi_response_timeout) if cls.step: hook = hookmodule.StepHook(cls) -- 2.16.6