This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 4be2efea7 Test: Add nameserver to transaction_data_sink test (#9056)
4be2efea7 is described below
commit 4be2efea7367a0f1c9acf8e1d9e53c03c78e56d7
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Aug 29 08:10:37 2022 +0900
Test: Add nameserver to transaction_data_sink test (#9056)
(cherry picked from commit 83a4c571c067c826789d967ff6099f4ac7faa8b4)
---
tests/gold_tests/pluginTest/transform/transaction_data_sink.test.py | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/tests/gold_tests/pluginTest/transform/transaction_data_sink.test.py
b/tests/gold_tests/pluginTest/transform/transaction_data_sink.test.py
index 8162d62ae..e46b697dc 100644
--- a/tests/gold_tests/pluginTest/transform/transaction_data_sink.test.py
+++ b/tests/gold_tests/pluginTest/transform/transaction_data_sink.test.py
@@ -28,11 +28,13 @@ Test.SkipUnless(
replay_file = "transaction-with-body.replays.yaml"
server = Test.MakeVerifierServerProcess("server", replay_file)
+nameserver = Test.MakeDNServer("dns", default='127.0.0.1')
ts = Test.MakeATSProcess("ts", enable_cache=False)
ts.Disk.records_config.update({
'proxy.config.diags.debug.enabled': 1,
'proxy.config.diags.debug.tags': 'txn_data_sink',
+ 'proxy.config.dns.nameservers': f"127.0.0.1:{nameserver.Variables.Port}",
})
ts.Disk.remap_config.AddLine(
f'map / http://localhost:{server.Variables.http_port}/'
@@ -48,4 +50,5 @@ ts.Streams.stderr = Testers.ContainsExpression(
tr = Test.AddTestRun()
tr.Processes.Default.StartBefore(server)
tr.Processes.Default.StartBefore(ts)
+tr.Processes.Default.StartBefore(nameserver)
tr.AddVerifierClientProcess("client-1", replay_file,
http_ports=[ts.Variables.port])