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 2019/06/25 21:27:39 UTC

[trafficserver] branch 8.0.x updated: Fix and reenable url_sig Au test.

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.0.x by this push:
     new e1fb1be  Fix and reenable url_sig Au test.
e1fb1be is described below

commit e1fb1be52f311e613829b28ce567f8846073a58c
Author: Walter Karas <wk...@verizonmedia.com>
AuthorDate: Thu Jun 20 11:34:24 2019 -0500

    Fix and reenable url_sig Au test.
    
    (cherry picked from commit ef246343dea2862a9191e89c71281c6f8072ba11)
    
     Conflicts:
    	tests/gold_tests/pluginTest/url_sig/url_sig.test.py
---
 tests/gold_tests/pluginTest/url_sig/url_sig.gold    | 9 ---------
 tests/gold_tests/pluginTest/url_sig/url_sig.test.py | 3 ++-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/tests/gold_tests/pluginTest/url_sig/url_sig.gold b/tests/gold_tests/pluginTest/url_sig/url_sig.gold
index 35f62da..256898b 100644
--- a/tests/gold_tests/pluginTest/url_sig/url_sig.gold
+++ b/tests/gold_tests/pluginTest/url_sig/url_sig.gold
@@ -1,21 +1,12 @@
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 403 Forbidden
-Authorization Denied*   Trying 127.0.0.1...
 < HTTP/1.1 200 OK
 < HTTP/1.1 200 OK
 < HTTP/1.1 200 OK
diff --git a/tests/gold_tests/pluginTest/url_sig/url_sig.test.py b/tests/gold_tests/pluginTest/url_sig/url_sig.test.py
index 19af447..75eb03c 100644
--- a/tests/gold_tests/pluginTest/url_sig/url_sig.test.py
+++ b/tests/gold_tests/pluginTest/url_sig/url_sig.test.py
@@ -25,6 +25,7 @@ Test url_sig plugin
 Test.SkipUnless(
     Condition.HasATSFeature('TS_USE_TLS_ALPN'),
 )
+Test.ContinueOnFail = True
 
 # Skip if plugins not present.
 Test.SkipUnless(Condition.PluginExists('url_sig.so'))
@@ -99,7 +100,7 @@ ts.Disk.remap_config.AddLine(
 
 # Validation failure tests.
 
-LogTee = " 2>&1 | tee -a {}/url_sig_long.log".format(Test.RunDirectory)
+LogTee = " 2>&1 | grep '^<' | tee -a {}/url_sig_long.log".format(Test.RunDirectory)
 
 # Bad client / MD5 / P=101 / URL pristine / URL altered.
 #