You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/05/20 23:11:21 UTC

[trafficserver] 25/28: TS-4420: Sync config changes before running tests.

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

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 676f30d73521f3e0cd288b0e33e2e3a9a79eb168
Author: James Peach <jp...@apache.org>
AuthorDate: Tue May 10 15:42:18 2016 -0700

    TS-4420: Sync config changes before running tests.
    
    (cherry picked from commit fdc75437440c2e903a8a212a1591632eade289f3)
---
 proxy/InkAPITest.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index d404d17..6aa5e07 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -5906,9 +5906,10 @@ struct ParentTest {
     if (!this->parent_proxy_routing_enable) {
       rprintf(this->regtest, "enabling proxy.config.http.parent_proxy_routing_enable\n");
       RecSetRecordInt("proxy.config.http.parent_proxy_routing_enable", 1, REC_SOURCE_EXPLICIT);
-    }
 
-    RecSetRecordInt("proxy.config.http.parent_proxy_routing_enable", 1, REC_SOURCE_EXPLICIT);
+      // Force the config change to sync.
+      RecExecConfigUpdateCbs(REC_UPDATE_REQUIRED);
+    }
   }
 
   ~ParentTest()

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.