Skip to content

Commit

Permalink
fix: plugins fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Dec 2, 2024
1 parent b076508 commit 0aae24b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ async def install_plugins(
assert res.status_code == 200, "Failed to request plugins install"

# block until the UI does not have "Pending" in download progress column.
await unit.model.block_until(
await wait_for(
lambda: "Pending"
not in str(
client.requester.post_url(f"{web}/manage/pluginManager/updates/body").content,
encoding="utf-8",
),
timeout=60 * 10,
wait_period=10,
)

# the library will return 503 or other status codes that are not 200, hence restart and
Expand Down

0 comments on commit 0aae24b

Please sign in to comment.