zrhoffman commented on a change in pull request #4857:
URL: https://github.com/apache/trafficcontrol/pull/4857#discussion_r468979063



##########
File path: 
traffic_router/core/src/test/java/com/comcast/cdn/traffic_control/traffic_router/core/util/AbstractResourceWatcherTest.java
##########
@@ -69,6 +70,11 @@ public void setUp() throws InterruptedException {
         trafficRouterManager = (TrafficRouterManager) 
context.getBean("trafficRouterManager");
         trafficRouterManager.getTrafficRouter().setApplicationContext(context);
 
+        TrafficRouter trafficRouter = trafficRouterManager.getTrafficRouter();
+        CacheRegister cacheRegister = trafficRouter.getCacheRegister();
+        JsonNode config = cacheRegister.getConfig();
+        oldFedUrl = config.get(federationsWatcher.getWatcherConfigPrefix() + 
".polling.url") != null ? 
config.get(federationsWatcher.getWatcherConfigPrefix() + 
".polling.url").asText() : "";

Review comment:
       Is `federationmapping.polling.url` supposed to change after `oldFedUrl` 
is set?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to