Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 3e01db5

Browse files
committed
added additional mock
1 parent 2f8b76c commit 3e01db5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/compute_engine/test__metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ def test_get_universe_domain_not_found():
548548
assert universe_domain == "googleapis.com"
549549

550550

551-
def test_get_universe_domain_retryable_error_failure():
551+
@mock.patch("time.sleep", return_value=None)
552+
def test_get_universe_domain_retryable_error_failure(mock_sleep):
552553
# Test that if the universe domain endpoint returns a retryable error
553554
# we should retry.
554555
#

0 commit comments

Comments
 (0)