kfaraz commented on a change in pull request #11766:
URL: https://github.com/apache/druid/pull/11766#discussion_r722018488
##########
File path:
server/src/test/java/org/apache/druid/client/BrokerSegmentWatcherConfigTest.java
##########
@@ -45,9 +45,10 @@ public void testSerde() throws Exception
);
Assert.assertNull(config.getWatchedTiers());
+ Assert.assertNull(config.getIgnoredTiers());
//non-defaults
- json = "{ \"watchedTiers\": [\"t1\", \"t2\"], \"watchedDataSources\":
[\"ds1\", \"ds2\"] }";
+ json = "{ \"watchedTiers\": [\"t1\", \"t2\"], \"watchedDataSources\":
[\"ds1\", \"ds2\"], \"ignoredTiers\": [\"t3\", \"t4\"] }";
Review comment:
No, you are right, we should not use an invalid configuration here.
Fixing.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]