This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6edfe624bc9 Remove duplicate Teradata suspend-success test (#75881)
6edfe624bc9 is described below
commit 6edfe624bc908446d4ee8814a6d9b26833ca79d9
Author: Hussein Awala <[email protected]>
AuthorDate: Thu Oct 29 06:17:27 2026 +0100
Remove duplicate Teradata suspend-success test (#75881)
The extra suspend-success test has the same inputs, marks and assertions as
the retained test; actual compute-group SQL coverage remains separate.
---
.../triggers/test_teradata_compute_cluster.py | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git
a/providers/teradata/tests/unit/teradata/triggers/test_teradata_compute_cluster.py
b/providers/teradata/tests/unit/teradata/triggers/test_teradata_compute_cluster.py
index 3b3a9d71206..02d2f01d837 100644
---
a/providers/teradata/tests/unit/teradata/triggers/test_teradata_compute_cluster.py
+++
b/providers/teradata/tests/unit/teradata/triggers/test_teradata_compute_cluster.py
@@ -50,27 +50,6 @@ async def test_run_suspend_success():
mock_get_status.assert_called_once()
[email protected]
-async def test_run_suspend_success_cg():
- trigger = TeradataComputeClusterSyncTrigger(
- teradata_conn_id="test_conn_id",
- compute_profile_name="test_profile",
- operation_type=Constants.CC_SUSPEND_OPR,
- poll_interval=1,
- )
- with patch.object(trigger, "get_status") as mock_get_status:
- mock_get_status.return_value = Constants.CC_SUSPEND_DB_STATUS
- async for event in trigger.run():
- assert event == TriggerEvent(
- {
- "status": "success",
- "message": Constants.CC_OPR_SUCCESS_STATUS_MSG
- % ("test_profile", Constants.CC_SUSPEND_OPR),
- }
- )
- mock_get_status.assert_called_once()
-
-
@pytest.mark.asyncio
async def test_run_suspend_failure():
trigger = TeradataComputeClusterSyncTrigger(