Skip to content
代码片段 群组 项目
派生自 oss-mirrors / ICV / kafka
源项目有可见性限制。
用户头像
Vikas Singh 编辑于
getClusterMissingNode0 wasn't initializing the testPartitions variable,
thus passing null to CruiseControlMetricProcessor::process method which
resulted in NPE.

This change fixes the code to initialize the variable correctly. The
test was not having issue when run as part of the whole suite as other
tests methods were initializing the static variable. Ideally the
variable should be non-static and get initialized by each method, but
that is a bigger change.

Test passes now when run individually.
d0b62278
历史
名称 最后提交 最后更新