We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67410a1 commit 2cd81c6Copy full SHA for 2cd81c6
tests/test_server.py
@@ -846,10 +846,8 @@ def test_addon_methods():
846
addons = get_addons_info()["addons"]
847
break
848
except exceptions.ServerError as exc:
849
- pass
850
-
851
- if time.time() - last_check > 60:
852
- assert False, "Server timeout"
+ if time.time() - last_check > 60:
+ raise AssertionError(f"Server restart failed {exc}")
853
time.sleep(0.5)
854
855
assert any(addon_name == addon["name"] for addon in addons)
0 commit comments