Skip to content

Commit 9ce92d6

Browse files
authored
♻️ Maintenance/rclone flaky test (ITISFoundation#3050)
1 parent 62c4c48 commit 9ce92d6

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

packages/simcore-sdk/requirements/_test.in

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,26 @@
77
#
88
--constraint _base.txt
99

10-
# testing
10+
aioboto3
11+
aioresponses
12+
alembic
13+
click
1114
coverage
15+
coveralls
16+
docker
17+
faker
18+
flaky
19+
minio
20+
pylint
1221
pytest
13-
pytest-aiohttp # incompatible with pytest-asyncio. See https://github.com/pytest-dev/pytest-asyncio/issues/76
22+
pytest-aiohttp
1423
pytest-cov
1524
pytest-icdiff
1625
pytest-instafail
26+
pytest-lazy-fixture
1727
pytest-mock
1828
pytest-runner
1929
pytest-sugar
2030
pytest-xdist
21-
pytest-lazy-fixture
22-
23-
# mockups/fixtures
24-
aioboto3
25-
aioresponses
26-
alembic
27-
click
28-
docker
29-
faker
30-
minio
3131
python-dotenv
3232
requests
33-
34-
# tools for CI
35-
pylint
36-
coveralls

packages/simcore-sdk/requirements/_test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ execnet==1.9.0
7575
# via pytest-xdist
7676
faker==13.7.0
7777
# via -r requirements/_test.in
78+
flaky==3.7.0
79+
# via -r requirements/_test.in
7880
frozenlist==1.3.0
7981
# via
8082
# -c requirements/_base.txt

packages/simcore-sdk/tests/integration/test_node_ports_v2_r_clone_.py renamed to packages/simcore-sdk/tests/integration/test_node_ports_common_r_clone.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def _is_file_present(postgres_db: sa.engine.Engine, s3_object: str) -> bool:
156156
# TESTS
157157

158158

159+
@pytest.mark.flaky(max_runs=3)
159160
async def test_sync_local_to_s3(
160161
r_clone_settings: RCloneSettings,
161162
s3_object: str,

0 commit comments

Comments
 (0)