This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.1.x by this push:
new 4a6e11c Fix the schedule AuTest for 9.1.x: use PrepareTestPlugin
(#7539)
4a6e11c is described below
commit 4a6e11cce7598025261f4a08d959de2cd48b77f3
Author: Brian Neradt <[email protected]>
AuthorDate: Fri Feb 19 09:16:59 2021 -0600
Fix the schedule AuTest for 9.1.x: use PrepareTestPlugin (#7539)
By reverting cefe4826c919847385aa9d8459b9d5cfc20377f9 from master (see
0bc58d28412bdc58859431c9eaf3cefffd2acabb) we also reverted some test
updates in addition to removing the incompatible API change. This
addresses that by fixing the schedule.test.py to use the new
PrepareTestPlugin API that master uses.
Co-authored-by: bneradt <[email protected]>
---
tests/gold_tests/cont_schedule/schedule.test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gold_tests/cont_schedule/schedule.test.py
b/tests/gold_tests/cont_schedule/schedule.test.py
index c82db17..3a2b38c 100644
--- a/tests/gold_tests/cont_schedule/schedule.test.py
+++ b/tests/gold_tests/cont_schedule/schedule.test.py
@@ -38,7 +38,7 @@ ts.Disk.records_config.update({
})
# Load plugin
-Test.PreparePlugin(os.path.join(Test.Variables.AtsTestToolsDir, 'plugins',
'cont_schedule.cc'), ts)
+Test.PrepareTestPlugin(os.path.join(Test.Variables.AtsTestPluginsDir,
'cont_schedule.so'), ts)
# www.example.com Host
tr = Test.AddTestRun()