Skip to content

Commit 347a5a3

Browse files
authored
AuTest: reduce port usage in the Remap ACL test (#12402)
1 parent dd8f0d6 commit 347a5a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/gold_tests/remap/remap_acl.test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(
5959

6060
tr = Test.AddTestRun(name)
6161
self._configure_server(tr)
62-
self._configure_traffic_server(tr)
62+
self._configure_traffic_server(tr, proxy_protocol)
6363
self._configure_client(tr, proxy_protocol)
6464

6565
def _configure_server(self, tr: 'TestRun') -> None:
@@ -72,14 +72,14 @@ def _configure_server(self, tr: 'TestRun') -> None:
7272
Test_remap_acl._server_counter += 1
7373
self._server = server
7474

75-
def _configure_traffic_server(self, tr: 'TestRun') -> None:
75+
def _configure_traffic_server(self, tr: 'TestRun', proxy_protocol: bool) -> None:
7676
"""Configure Traffic Server.
7777
7878
:param tr: The TestRun object to associate the Traffic Server process with.
7979
"""
8080

8181
name = f"ts-{Test_remap_acl._ts_counter}"
82-
ts = tr.MakeATSProcess(name, enable_cache=False, enable_tls=True, enable_proxy_protocol=True)
82+
ts = tr.MakeATSProcess(name, enable_cache=False, enable_proxy_protocol=proxy_protocol, enable_uds=False)
8383
Test_remap_acl._ts_counter += 1
8484
self._ts = ts
8585

@@ -159,7 +159,7 @@ def _configure_traffic_server(self, tr: 'TestRun', acl_filter: str, ip_allow_con
159159
'''
160160
name = f"ts-old-action-{Test_old_action._ts_counter}"
161161
Test_old_action._ts_counter += 1
162-
ts = tr.MakeATSProcess(name)
162+
ts = tr.MakeATSProcess(name, enable_uds=False)
163163
self._ts = ts
164164

165165
ts.Disk.records_config.update(

0 commit comments

Comments
 (0)