Make test_trigger_rule_dep tests re-runnable (#10712)
Make test_trigger_rule_dep tests re-runnable (#10712)

If we run this test
(TestTriggerRuleDep::test_get_states_count_upstream_ti specifically)
more than once without clearing the DB in between it would fail due to a
unique constraint violation.
lyft/incubator-airflow,nathanielvarona/airflow,dhuang/incubator-airflow,DinoCow/airflow,mistercrunch/airflow,danielvdende/incubator-airflow,apache/airflow,danielvdende/incubator-airflow,DinoCow/airflow,apache/airflow,lyft/incubator-airflow,danielvdende/incubator-airflow,Acehaidrey/incubator-airflow,apache/airflow,sekikn/incubator-airflow,sekikn/incubator-airflow,sekikn/incubator-airflow,DinoCow/airflow,apache/incubator-airflow,airbnb/airflow,cfei18/incubator-airflow,nathanielvarona/airflow,DinoCow/airflow,sekikn/incubator-airflow,nathanielvarona/airflow,danielvdende/incubator-airflow,mrkm4ntr/incubator-airflow,Acehaidrey/incubator-airflow,lyft/incubator-airflow,apache/incubator-airflow,Acehaidrey/incubator-airflow,mistercrunch/airflow,apache/incubator-airflow,mistercrunch/airflow,mistercrunch/airflow,apache/airflow,danielvdende/incubator-airflow,airbnb/airflow,nathanielvarona/airflow,cfei18/incubator-airflow,mrkm4ntr/incubator-airflow,Acehaidrey/incubator-airflow,dhuang/incubator-airflow,danielvdende/incubator-airflow,mrkm4ntr/incubator-airflow,Acehaidrey/incubator-airflow,cfei18/incubator-airflow,bolkedebruin/airflow,dhuang/incubator-airflow,apache/incubator-airflow,mrkm4ntr/incubator-airflow,bolkedebruin/airflow,airbnb/airflow,cfei18/incubator-airflow,bolkedebruin/airflow,nathanielvarona/airflow,cfei18/incubator-airflow,apache/airflow,dhuang/incubator-airflow,nathanielvarona/airflow,Acehaidrey/incubator-airflow,bolkedebruin/airflow,bolkedebruin/airflow,apache/airflow,lyft/incubator-airflow,airbnb/airflow,cfei18/incubator-airflow