You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2023/02/22 04:42:16 UTC
[trafficserver] branch master updated: Stabilize autest for traffic_dump (#9445)
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f3ac76008 Stabilize autest for traffic_dump (#9445)
f3ac76008 is described below
commit f3ac7600811da66e734c388278e6bb428bce0ffa
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Feb 21 21:42:08 2023 -0700
Stabilize autest for traffic_dump (#9445)
---
.../pluginTest/traffic_dump/traffic_dump.test.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tests/gold_tests/pluginTest/traffic_dump/traffic_dump.test.py b/tests/gold_tests/pluginTest/traffic_dump/traffic_dump.test.py
index 4aa84f478..52021048c 100644
--- a/tests/gold_tests/pluginTest/traffic_dump/traffic_dump.test.py
+++ b/tests/gold_tests/pluginTest/traffic_dump/traffic_dump.test.py
@@ -341,6 +341,11 @@ tr.Processes.Default.ReturnCode = 0
tr.Processes.Default.Env = ts.Env
tr.StillRunningAfter = ts
+# Give ATS some time to process the change
+tr = Test.AddTestRun("Give ATS some time to process the change")
+tr.Processes.Default.Command = "sleep 2"
+tr.Processes.Default.ReturnCode = 0
+
tr = Test.AddTestRun("Run some more test traffic with the restricted disk limit.")
tr.AddVerifierClientProcess(
"client-2", replay_file, http_ports=[ts.Variables.port],
@@ -365,6 +370,11 @@ tr.Processes.Default.ReturnCode = 0
tr.Processes.Default.Env = ts.Env
tr.StillRunningAfter = ts
+# Give ATS some time to process the change
+tr = Test.AddTestRun("Give ATS some time to process the change")
+tr.Processes.Default.Command = "sleep 2"
+tr.Processes.Default.ReturnCode = 0
+
tr = Test.AddTestRun("Run some more test traffic with no disk limit.")
tr.AddVerifierClientProcess(
"client-3", replay_file, http_ports=[ts.Variables.port],
@@ -392,6 +402,11 @@ tr.Processes.Default.ReturnCode = 0
tr.Processes.Default.Env = ts.Env
tr.StillRunningAfter = ts
+# Give ATS some time to process the change
+tr = Test.AddTestRun("Give ATS some time to process the change")
+tr.Processes.Default.Command = "sleep 2"
+tr.Processes.Default.ReturnCode = 0
+
tr = Test.AddTestRun("Run test traffic with newly restricted disk limit.")
tr.AddVerifierClientProcess(
"client-4", replay_file, http_ports=[ts.Variables.port],