mirror of
https://github.com/curl/curl.git
synced 2026-08-11 19:00:52 +03:00
parent
de07d804fb
commit
11708d6f00
5 changed files with 9 additions and 9 deletions
|
|
@ -67,7 +67,7 @@ class TestGoAway:
|
|||
r.check_responses(count=count, exp_status=200)
|
||||
assert len(r.stats) == count, f'{r.stats}'
|
||||
# reload will shut down the connection gracefully with GOAWAY
|
||||
# we expect to see a second connetion opened afterwards
|
||||
# we expect to see a second connection opened afterwards
|
||||
assert r.total_connects == 2
|
||||
for idx, s in enumerate(r.stats):
|
||||
if s['num_connects'] > 0:
|
||||
|
|
@ -102,7 +102,7 @@ class TestGoAway:
|
|||
r.check_responses(count=count, exp_status=200)
|
||||
assert len(r.stats) == count, f'{r.stats}'
|
||||
# reload will shut down the connection gracefully with GOAWAY
|
||||
# we expect to see a second connetion opened afterwards
|
||||
# we expect to see a second connection opened afterwards
|
||||
assert r.total_connects == 2
|
||||
for idx, s in enumerate(r.stats):
|
||||
if s['num_connects'] > 0:
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class TestStuttered:
|
|||
r.check_responses(count=1, exp_status=200)
|
||||
|
||||
# download 50 files in 100 chunks a 100 bytes with 10ms delay between
|
||||
# prepend 100 file requests to warm up connection procesing limits
|
||||
# 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,
|
||||
|
|
@ -78,7 +78,7 @@ class TestStuttered:
|
|||
f'avg time of transfer: {t_avg} [{i_min}={t_min}, {i_max}={t_max}]'
|
||||
|
||||
# download 50 files in 1000 chunks a 10 bytes with 1ms delay between
|
||||
# prepend 100 file requests to warm up connection procesing limits
|
||||
# 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):
|
||||
|
|
@ -101,7 +101,7 @@ class TestStuttered:
|
|||
f'avg time of transfer: {t_avg} [{i_min}={t_min}, {i_max}={t_max}]'
|
||||
|
||||
# download 50 files in 10000 chunks a 1 byte with 10us delay between
|
||||
# prepend 100 file requests to warm up connection procesing limits
|
||||
# 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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue