JosiahWI commented on PR #13934:
URL: https://github.com/apache/trafficserver/pull/13934#issuecomment-7042301000
```
=================================== FAILURES
===================================
____________________ test_header_rewrite_global_bad_config
_____________________
[gw3] linux -- Python 3.15.0
/home/jenkins/workspace/Github_Builds/urtest/src/build/tests/.venv/bin/python
ats_factory = <tools.uranium.services.ats.ATSFactory object at
0x7fe74ef91a90>
def test_header_rewrite_global_bad_config(ats_factory: ATSFactory) ->
None:
"""Loading an invalid configuration as a global plugin triggers
TSFatal."""
ats = ats_factory.create("ats-global-bad-config", enable_cache=False)
if not ats.plugin_exists("header_rewrite.so"):
pytest.skip("header_rewrite.so is required")
ats.write_config_file("bad_global.conf", "cond %{CLIENT-HEADER:foo}
=bar [AND,AND]\nset-header X-Test yes\n")
ats.plugin_config.add_line("header_rewrite.so bad_global.conf")
ats.expect_start_failure(r"failed to parse configuration file
bad_global\.conf")
> verify_failure(ats)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]