diff --git a/opendbc/can/tests/test_checksums.py b/opendbc/can/tests/test_checksums.py index 52ac79398b..8dc576b6ea 100644 --- a/opendbc/can/tests/test_checksums.py +++ b/opendbc/can/tests/test_checksums.py @@ -2,6 +2,7 @@ from opendbc.can.parser import CANParser from opendbc.can.packer import CANPacker +REPEAT_COUNT = 1000000 class TestCanChecksums: @@ -48,7 +49,9 @@ def verify_vw_mqb_crc(self, subtests, msg_name: str, msg_addr: int, test_message modified = copy.deepcopy(expected) modified.pop(crc_field, None) - modified_msg = packer.make_can_msg(msg_name, 0, modified) + modified_msg = None + for _ in range(REPEAT_COUNT): + modified_msg = packer.make_can_msg(msg_name, 0, modified) parser.update_strings([0, [modified_msg]]) tested = parser.vl[msg_name]