tests: fix test cov 81/42581/1
authorIvan Ivanets <[email protected]>
Wed, 26 Mar 2025 21:53:05 +0000 (23:53 +0200)
committerIvan Ivanets <[email protected]>
Wed, 26 Mar 2025 21:56:29 +0000 (23:56 +0200)
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 <[email protected]>
test/asf/asfframework.py

index 7670a07..8e565d2 100644 (file)
@@ -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)