X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FConstants.py;h=57176662eb6c8400058545269d2116934691db5c;hb=fdd4211559f1be8cf7e82ab429ebc5c7de70946b;hp=9dd9a38e1743c1861b1e4e28775b3e99126e2a40;hpb=6a80c9028d71a1502a2f2a64b4646af4c5958733;p=csit.git diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 9dd9a38e17..57176662eb 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -229,7 +229,7 @@ class Constants(object): SOCKSTAT_PATH = "/run/vpp/stats.sock" # Global "kill switch" for CRC checking during runtime. - FAIL_ON_CRC_MISMATCH = get_optimistic_bool_from_env("FAIL_ON_CRC_MISMATCH") + 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.