zhangyue19921010 edited a comment on pull request #10779: URL: https://github.com/apache/druid/pull/10779#issuecomment-763504141
Hi @gianm Thanks for your review. I just add a UT named `testSchemaInit` as you suggested. If condition is ` if (isServerViewInitialized) `, this UT will fail with errors ``` java.lang.AssertionError: Expected :2 Actual :0 ``` If condition is `isServerViewInitialized && lastFailure == 0L`, this UT will success and DruidSchema is initialized as expected. Also I test this pr in our dev cluster. It works fine. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org