zrhoffman commented on code in PR #5613:
URL: https://github.com/apache/trafficcontrol/pull/5613#discussion_r1202488563
##########
traffic_router/core/src/test/java/org/apache/traffic_control/traffic_router/core/util/AbstractResourceWatcherTest.java:
##########
@@ -115,7 +115,10 @@ public void testWatchers() {
TrafficRouter trafficRouter = trafficRouterManager.getTrafficRouter();
CacheRegister cacheRegister = trafficRouter.getCacheRegister();
JsonNode config = cacheRegister.getConfig();
- assertNull(config.get(federationsWatcher.getWatcherConfigPrefix() +
".polling.url"));
+ JsonNode pollingUrlNode =
config.get(federationsWatcher.getWatcherConfigPrefix() + ".polling.url");
+ if (pollingUrlNode != null) {
+ assertThat(pollingUrlNode.asText(),
not(endsWith("api/3.0/notAFederationsEndpoint")));
Review Comment:
I don't think this test was supposed to be included, reverted in 2c44bd9112
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]