mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
pytest: remove 'repeat' parameter
With the use of the pytest-repeat plugin, this parameter is no longer necessary. Closes #16033
This commit is contained in:
parent
2e2c6b0b4e
commit
ef3d7877d5
22 changed files with 161 additions and 182 deletions
|
|
@ -47,8 +47,7 @@ class TestStuttered:
|
|||
|
||||
# download 1 file, check that delayed response works in general
|
||||
@pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3'])
|
||||
def test_04_01_download_1(self, env: Env, httpd, nghttpx, repeat,
|
||||
proto):
|
||||
def test_04_01_download_1(self, env: Env, httpd, nghttpx, proto):
|
||||
if proto == 'h3' and not env.have_h3():
|
||||
pytest.skip("h3 not supported")
|
||||
count = 1
|
||||
|
|
@ -63,8 +62,7 @@ class TestStuttered:
|
|||
# prepend 100 file requests to warm up connection processing limits
|
||||
# (Apache2 increases # of parallel processed requests after successes)
|
||||
@pytest.mark.parametrize("proto", ['h2', 'h3'])
|
||||
def test_04_02_100_100_10(self, env: Env,
|
||||
httpd, nghttpx, repeat, proto):
|
||||
def test_04_02_100_100_10(self, env: Env, httpd, nghttpx, proto):
|
||||
if proto == 'h3' and not env.have_h3():
|
||||
pytest.skip("h3 not supported")
|
||||
count = 50
|
||||
|
|
@ -86,7 +84,7 @@ class TestStuttered:
|
|||
# prepend 100 file requests to warm up connection processing limits
|
||||
# (Apache2 increases # of parallel processed requests after successes)
|
||||
@pytest.mark.parametrize("proto", ['h2', 'h3'])
|
||||
def test_04_03_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto):
|
||||
def test_04_03_1000_10_1(self, env: Env, httpd, nghttpx, proto):
|
||||
if proto == 'h3' and not env.have_h3():
|
||||
pytest.skip("h3 not supported")
|
||||
count = 50
|
||||
|
|
@ -108,7 +106,7 @@ class TestStuttered:
|
|||
# prepend 100 file requests to warm up connection processing limits
|
||||
# (Apache2 increases # of parallel processed requests after successes)
|
||||
@pytest.mark.parametrize("proto", ['h2', 'h3'])
|
||||
def test_04_04_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto):
|
||||
def test_04_04_1000_10_1(self, env: Env, httpd, nghttpx, proto):
|
||||
if proto == 'h3' and not env.have_h3():
|
||||
pytest.skip("h3 not supported")
|
||||
count = 50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue