FIX: put back the correct value of FAIL_ON_CRC_MISMATCH constant 72/22572/1
authorJan Gelety <jgelety@cisco.com>
Fri, 4 Oct 2019 03:06:06 +0000 (05:06 +0200)
committerJan Gelety <jgelety@cisco.com>
Fri, 4 Oct 2019 03:06:06 +0000 (05:06 +0200)
Change-Id: Ia395cfbc5325d292bf8c32bb24e9a1478c140780
Signed-off-by: Jan Gelety <jgelety@cisco.com>
resources/libraries/python/Constants.py

index 5b7e1cd..5717666 100644 (file)
@@ -229,8 +229,7 @@ class Constants(object):
     SOCKSTAT_PATH = "/run/vpp/stats.sock"
 
     # Global "kill switch" for CRC checking during runtime.
-    # FAIL_ON_CRC_MISMATCH = get_pessimistic_bool_from_env("FAIL_ON_CRC_MISMATCH")
-    FAIL_ON_CRC_MISMATCH = False
+    FAIL_ON_CRC_MISMATCH = get_pessimistic_bool_from_env("FAIL_ON_CRC_MISMATCH")
 
     # Mapping from NIC name to its bps limit.
     # TODO: Implement logic to lower limits to TG NIC or software. Or PCI.