This is an automated email from the ASF dual-hosted git repository.
potiuk 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 f4270da2c7 mark TestGKEStartKueueInsideClusterOperator tests with
flaky decorator (#42916)
f4270da2c7 is described below
commit f4270da2c76bb59dafed1b7f410871f7edf7f90a
Author: GPK <[email protected]>
AuthorDate: Thu Oct 10 21:55:58 2024 +0100
mark TestGKEStartKueueInsideClusterOperator tests with flaky decorator
(#42916)
---
providers/tests/google/cloud/operators/test_kubernetes_engine.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/providers/tests/google/cloud/operators/test_kubernetes_engine.py
b/providers/tests/google/cloud/operators/test_kubernetes_engine.py
index d11a5af90a..f0f42745c1 100644
--- a/providers/tests/google/cloud/operators/test_kubernetes_engine.py
+++ b/providers/tests/google/cloud/operators/test_kubernetes_engine.py
@@ -545,6 +545,7 @@ class TestGKEStartKueueInsideClusterOperator:
self.gke_op._cluster_url = CLUSTER_URL
self.gke_op._ssl_ca_cert = SSL_CA_CERT
+ @pytest.mark.flaky(reruns=5)
@pytest.mark.db_test
@mock.patch.dict(os.environ, {})
@mock.patch(TEMP_FILE)
@@ -560,6 +561,7 @@ class TestGKEStartKueueInsideClusterOperator:
fetch_cluster_info_mock.assert_called_once()
+ @pytest.mark.flaky(reruns=5)
@mock.patch.dict(os.environ, {})
@mock.patch(TEMP_FILE)
@mock.patch(f"{GKE_CLUSTER_AUTH_DETAILS_PATH}.fetch_cluster_info")
@@ -578,6 +580,7 @@ class TestGKEStartKueueInsideClusterOperator:
assert "Kueue installed successfully!" in caplog.text
+ @pytest.mark.flaky(reruns=5)
@mock.patch.dict(os.environ, {})
@mock.patch(TEMP_FILE)
@mock.patch(f"{GKE_CLUSTER_AUTH_DETAILS_PATH}.fetch_cluster_info")