diff --git a/galaxy_ng/tests/integration/api/test_namespace_management.py b/galaxy_ng/tests/integration/api/test_namespace_management.py index c532625653..46cc1488b0 100644 --- a/galaxy_ng/tests/integration/api/test_namespace_management.py +++ b/galaxy_ng/tests/integration/api/test_namespace_management.py @@ -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 = {