Skip to content

Commit

Permalink
Revert "testing: codeflare: sdk_user/sample/sample: retry 'cluster.wa…
Browse files Browse the repository at this point in the history
…it_ready' multiple times"

This reverts commit d5dc94b.
  • Loading branch information
kpouget committed Aug 25, 2023
1 parent 931a4f6 commit 39c4a3b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions testing/codeflare/sdk_user/sample/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,7 @@ def main():

# Bring up the cluster
cluster.up()
while True:
try:
cluster.wait_ready()
break
except TypeError as e:
# there's a timeout in the calling script
logging.warning(f"cluster.wait_ready() failed with {e}")
import time
time.sleep(5)

cluster.wait_ready()
cluster.status()
cluster.details()

Expand Down

0 comments on commit 39c4a3b

Please sign in to comment.