Disable CRC checking at runtime 99/20999/1
authorVratko Polak <vrpolak@cisco.com>
Thu, 1 Aug 2019 10:00:17 +0000 (12:00 +0200)
committerVratko Polak <vrpolak@cisco.com>
Thu, 1 Aug 2019 10:00:17 +0000 (12:00 +0200)
Temporarily, will be re-enabled once VPP and CSIT are in sync again.

Change-Id: I0d3bb5b70ea04155972093102a26a81f86119c37
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/python/VppApiCrc.py

index eba65ac..28d66d3 100644 (file)
@@ -257,8 +257,9 @@ class VppApiCrcChecker(object):
             return
         crc = self._found.get(api_name, None)
         self._reported[api_name] = crc
-        raise RuntimeError("No active collection has API {api} CRC found {crc}"\
-            .format(api=api_name, crc=crc))
+        # Disabled temporarily during CRC mismatch.
+        #raise RuntimeError("No active collection has API {api} CRC found {crc}"\
+        #    .format(api=api_name, crc=crc))
 
     # Moved to the end as this part will be edited frequently.
     def _register_all(self):