trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [trafficserver] branch master updated: TS-4420: Sync config changes before running tests.
Date Tue, 10 May 2016 22:42:30 GMT
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 <jpeach@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" <commits@trafficserver.apache.org>'].

Mime
View raw message