Ignore stress JMX errors, fixes
@@ -275,7 +275,9 @@ def assert_stderr_clean(err, acceptable_errors=None):
"""
if acceptable_errors is None:
acceptable_errors = ["WARN.*JNA link failure.*unavailable.",
- "objc.*Class JavaLaunchHelper.*?Which one is undefined."]
+ "objc.*Class JavaLaunchHelper.*?Which one is undefined.123",
+ # Stress tool JMX connection failure, see CASSANDRA-12437
+ "Failed to connect over JMX; not collecting these stats"]
regex_str = "^({}|\s*|\n)*$".format("|".join(acceptable_errors))
match = re.search(regex_str, err)
