You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/02/22 17:49:55 UTC

[trafficserver] branch 9.2.x updated: Stabilize autest for traffic_dump (#9445)

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 20c82c3a1 Stabilize autest for traffic_dump (#9445)
20c82c3a1 is described below

commit 20c82c3a17c96ba34f30f7ce766608c5821dcd89
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Feb 21 21:42:08 2023 -0700

    Stabilize autest for traffic_dump (#9445)
    
    (cherry picked from commit f3ac7600811da66e734c388278e6bb428bce0ffa)
---
 .../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 5c1aa6b2d..fb1c88c2d 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],