nuclearpinguin commented on a change in pull request #7091: [AIRFLOW-6489] Separate integrations in tests URL: https://github.com/apache/airflow/pull/7091#discussion_r365761099
########## File path: tests/providers/apache/cassandra/hooks/test_cassandra_hook.py ########## @@ -30,15 +31,7 @@ from airflow.utils import db -def cassandra_is_not_up(): - try: - Cluster(["cassandra"]) - return False - except UnresolvableContactPoints: - return True - - [email protected](cassandra_is_not_up(), "Cassandra is not up.") [email protected]("cassandra") class TestCassandraHook(unittest.TestCase): Review comment: If the reason behind Cassandra flakiness was lack of resources then this is should work. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
