tests: I don't know why but these tests are flaky

This commit is contained in:
lilydjwg 2025-02-10 17:29:17 +08:00
parent 1e3ed1e4b9
commit 50d5342586
3 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
@pytest.mark.flaky(reruns=10)
async def test_android_addon(get_version):
assert await get_version("android-google-play-apk-expansion", {
"source": "android_sdk",

View File

@ -3,6 +3,7 @@
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
@pytest.mark.flaky(reruns=10)
async def test_launchpad(get_version):
version = await get_version(
"sakura",

View File

@ -26,7 +26,7 @@ async def test_ubuntupkg_suite(get_version):
"suite": "xenial",
}) == "0.1.2-1"
@pytest.mark.flaky
@pytest.mark.flaky(reruns=10)
async def test_ubuntupkg_suite_with_paging(get_version):
assert await get_version("ffmpeg", {
"source": "ubuntupkg",