vppinfra: fix bihash test-debug aarch64 sporadic failure 12/31212/2
authorDave Barach <dave@barachs.net>
Wed, 10 Feb 2021 12:40:05 +0000 (07:40 -0500)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 10 Feb 2021 15:37:07 +0000 (15:37 +0000)
Turns out that both the multi-core and single-core add / del tests run
for just under 5 seconds (aarch64, debug image). Increase the vapi =>
debug CLI timeout to avoid spurious failures.

Type: test

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ia64bffa82a908172a21c34f3ae4402ad774af28a

src/vppinfra/test/test_bihash.py

index 019929a..2949d66 100644 (file)
@@ -11,6 +11,9 @@ class TestBihash(VppTestCase):
 
     @classmethod
     def setUpClass(cls):
+        # increase vapi timeout, to avoid spurious "test bihash ..."
+        # failures reported on aarch64 w/ test-debug
+        cls.vapi_response_timeout = 20
         super(TestBihash, cls).setUpClass()
 
     @classmethod