Added retries for NTP peers state test
Added retries for NTP peers state test because when the cloud
was deployed recently or NTP service was restarted with new
pools/servers, it takes some time to get expected NTP peers state.
Change-Id: Ibc4620e5fcc2d112361667992aa75fa68771aa0f
Realated: PROD-30970
diff --git a/test_set/cvp-sanity/tests/test_ntp_sync.py b/test_set/cvp-sanity/tests/test_ntp_sync.py
index 21528ca..e5bed2f 100644
--- a/test_set/cvp-sanity/tests/test_ntp_sync.py
+++ b/test_set/cvp-sanity/tests/test_ntp_sync.py
@@ -31,6 +31,7 @@
)
+@pytest.mark.flaky(reruns=5, reruns_delay=60)
@pytest.mark.smoke
def test_ntp_peers_state(local_salt_client):
"""Test gets ntpq peers state and checks the system peer is declared"""