From 38c04b2566c3ecf2109611628783dd1c8a1be99a Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 17 Aug 2023 14:53:26 +0200 Subject: feat(swasync): switch to polling mode Performance of adaptive mode is bad (different bug), keep continuity of ipsec swasync tests (when VPP allows). As 23.06-release does not have the new API message, the new CSIT code needs to be more careful around CRC checking. + Add new crc collection with the new API call used. + Also keep the old collection so older VPP does not fail. + Document how papi executor works with VPP without a message. + Prevent CRC checker from raising bodus errors with old VPP. Change-Id: I9ff933a8a9558289d22d55526905d63e7894378c Signed-off-by: Vratko Polak --- resources/libraries/python/PapiExecutor.py | 1 + 1 file changed, 1 insertion(+) (limited to 'resources/libraries/python/PapiExecutor.py') diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py index b0fe6f5b7b..b629996042 100644 --- a/resources/libraries/python/PapiExecutor.py +++ b/resources/libraries/python/PapiExecutor.py @@ -995,6 +995,7 @@ class PapiSocketExecutor: :returns: Papi replies parsed into a dict-like object, with fields due to API (possibly including retval). :rtype: List[UserDict] + :raises AttributeError: If VPP does not know the command. :raises RuntimeError: If the replies are not all correct. """ vpp_instance = self.get_connected_client() -- cgit 1.2.3-korg