You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/05/10 22:42:30 UTC

[trafficserver] branch master updated: TS-4420: Sync config changes before running tests.

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

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  fdc7543   TS-4420: Sync config changes before running tests.
fdc7543 is described below

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

    TS-4420: Sync config changes before running tests.
---
 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>'].