walterddr commented on code in PR #10705: URL: https://github.com/apache/pinot/pull/10705#discussion_r1182900917
########## pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManagerStatelessTest.java: ########## @@ -540,6 +540,19 @@ public void testValidateTenantConfig() { // Valid tenant config without tagOverrideConfig _helixResourceManager.validateTableTenantConfig(offlineTableConfig); + // Invalid serverTag in tierConfigs + TierConfig tierConfig = new TierConfig("myTier", TierFactory.TIME_SEGMENT_SELECTOR_TYPE, "10d", null, + TierFactory.PINOT_SERVER_STORAGE_TYPE, "Unknown_OFFLINE", null, null); Review Comment: add a test for null? (looks like TierConfig json property server tag is nullable) -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org