Skip to content

Commit

Permalink
Wait longer?
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Mar 30, 2024
1 parent 6b0b230 commit 8419ac5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions galaxy_ng/tests/integration/api/test_namespace_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,15 @@ def test_namespace_edit_logo(galaxy_client):
"avatar_url": f"{artifacts_baseurl}/images/pexels-daniel-nettesheim-1162361.jpg"
}
gc.put(f"_ui/v1/my-namespaces/{name}/", body=payload)
sleep(60)
wait_for_all_tasks_gk(gc)
updated_namespace = gc.get(f'_ui/v1/my-namespaces/{name}/')
# sleep(60)
# wait_for_all_tasks_gk(gc)

for x in range(0, 20):
updated_namespace = gc.get(f'_ui/v1/my-namespaces/{name}/')
if updated_namespace["avatar_url"] != "":
break
time.sleep(5)

assert updated_namespace["avatar_url"] != ""

payload = {
Expand Down

0 comments on commit 8419ac5

Please sign in to comment.