diff --git a/pytest/tests/sanity/congestion_control.py b/pytest/tests/sanity/congestion_control.py index 233accfbca1..153b3376b46 100644 --- a/pytest/tests/sanity/congestion_control.py +++ b/pytest/tests/sanity/congestion_control.py @@ -216,7 +216,10 @@ def __check_tx(self, result): # feature. Occasionally the contract is not rebuilt properly and cargo # clean is needed. status = result['result']['status'] - self.assertIn('SuccessValue', status) + self.assertIn( + 'SuccessValue', status, + "The transaction failed, please check that the contract was built with `test_features` enabled." + ) def __start_load(self, node: BaseNode, accounts): logger.info("Starting load threads")