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:22 UTC
[trafficserver] branch 9.2.x updated: Stabilize autest for tls_check_cert_selection_reload (#9450)
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 481df80eb Stabilize autest for tls_check_cert_selection_reload (#9450)
481df80eb is described below
commit 481df80ebdecac5f015ab545a8f417207be6aa63
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue Feb 21 21:42:45 2023 -0700
Stabilize autest for tls_check_cert_selection_reload (#9450)
(cherry picked from commit 774ad47f217ff6440089232325045a21eacd378d)
---
tests/gold_tests/tls/tls_check_cert_selection_reload.test.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/gold_tests/tls/tls_check_cert_selection_reload.test.py b/tests/gold_tests/tls/tls_check_cert_selection_reload.test.py
index edd18e7df..8c8b4875d 100644
--- a/tests/gold_tests/tls/tls_check_cert_selection_reload.test.py
+++ b/tests/gold_tests/tls/tls_check_cert_selection_reload.test.py
@@ -83,6 +83,11 @@ tr.Processes.Default.Streams.All = Testers.ContainsExpression(
"unable to get local issuer certificate",
"Server certificate not issued by expected signer")
+# Pause a little to ensure mtime will be updated
+tr = Test.AddTestRun("Pause a little to ensure mtime will be different")
+tr.Processes.Default.Command = "sleep 2"
+tr.Processes.Default.ReturnCode = 0
+
tr = Test.AddTestRun("Update the bar cert to the signed 2 version")
tr.Setup.CopyAs("ssl/signed2-bar.pem", ".", "{0}/signed-bar.pem".format(ts.Variables.SSLDir))
# For some reason the Setup.CopyAs does not change the modification time, so we touch