aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-10-04 05:06:06 +0200
committerJan Gelety <jgelety@cisco.com>2019-10-04 05:06:06 +0200
commitfdd4211559f1be8cf7e82ab429ebc5c7de70946b (patch)
tree0915f98e61ba431047d218fdb6802ff054b03054 /resources
parentb38e5bc9f01528a7633a3132d7d5c8e12d4cbf88 (diff)
FIX: put back the correct value of FAIL_ON_CRC_MISMATCH constant
Change-Id: Ia395cfbc5325d292bf8c32bb24e9a1478c140780 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/Constants.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 5b7e1cda57..57176662eb 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -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.