aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-05 22:23:34 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-05 23:43:02 +0200
commitc374f169fdf79428d258faf59c1cdd800974994d (patch)
tree7e77b992c52ac9e7dca90065d1680d01630ec8bf /test/py
parentworker: actually stay offline (diff)
downloadcimple-c374f169fdf79428d258faf59c1cdd800974994d.tar.gz
cimple-c374f169fdf79428d258faf59c1cdd800974994d.zip
test: add a 2000-iteration basic repository test
Diffstat (limited to 'test/py')
-rw-r--r--test/py/test_repo.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/py/test_repo.py b/test/py/test_repo.py
index abc7f18..2c995e1 100644
--- a/test/py/test_repo.py
+++ b/test/py/test_repo.py
@@ -3,6 +3,8 @@
# For details, see https://github.com/egor-tensin/cimple.
# Distributed under the MIT License.
+import pytest
+
from lib.process import LoggingEvent
@@ -45,3 +47,8 @@ def test_repo_2(server_and_workers, test_repo, client):
def test_repo_10(server_and_workers, test_repo, client):
_test_repo_internal(server_and_workers, test_repo, client, 10)
+
+
+@pytest.mark.stress
+def test_repo_2000(server_and_workers, test_repo, client):
+ _test_repo_internal(server_and_workers, test_repo, client, 2000)