Skip to content

Commit 955f479

Browse files
disabled tests and decreased size of headers because response exceeds SETTINGS_MAX_HEADER_LIST_SIZE.
1 parent 4359e0f commit 955f479

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

t_modify_http_headers/test_logic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ class TestManyRequestHeaders(tester.TempestaTest):
382382
__headers_n = 64 // 4
383383

384384
def test_many_headers(self):
385-
set_headers = [(f"set-header-{step}", str(step) * 2000) for step in range(self.__headers_n)]
386-
add_headers = [(f"add-header-{step}", str(step) * 2000) for step in range(self.__headers_n)]
385+
set_headers = [(f"set-header-{step}", str(step) * 1000) for step in range(self.__headers_n)]
386+
add_headers = [(f"add-header-{step}", str(step) * 1000) for step in range(self.__headers_n)]
387387
exist_header = [
388-
(f"exist-header-{step}", str(step) * 1000) for step in range(self.__headers_n)
388+
(f"exist-header-{step}", str(step) * 500) for step in range(self.__headers_n)
389389
]
390390
changed_headers = [
391391
(f"changed-header-{step}", f"{step}a") for step in range(self.__headers_n)

tests_disabled.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,18 @@
524524
{
525525
"name": "http2_general.test_h2_headers.TestSplitCookies.test_split_cookies",
526526
"reason": "Disabled by issue #1736"
527+
},
528+
{
529+
"name": "t_modify_http_headers.test_logic.TestManyResponseHeaders",
530+
"reason": "Disabled by issue #1103"
531+
},
532+
{
533+
"name": "t_modify_http_headers.test_logic.TestManyCachedResponseHeaders",
534+
"reason": "Disabled by issue #1103"
535+
},
536+
{
537+
"name": "t_modify_http_headers.test_logic.TestManyRequestHeadersH2",
538+
"reason": "Disabled by issue #1103"
527539
}
528540
]
529541
}

tests_disabled_tcpseg.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@
196196
{
197197
"name": "t_frang.test_http_trailer_split_allowed",
198198
"reason": "Disabled by issue #464"
199+
},
200+
{
201+
"name": "t_modify_http_headers.test_logic.TestManyRequestHeaders",
202+
"reason": "Disabled by issue #1103"
199203
}
200204
]
201205
}

0 commit comments

Comments
 (0)