Fix the test HealthCheckTest.testBookKeeperDown
Fixes
*Motivation*
The test HealthCheckTest.testBookKeeperDown always failed.
That because of we have a change in the `bin/pulsar bookie`.
changed the main class name so the bookie process name change to
the `MAIN` not `BookieServer`.
@@ -108,7 +108,7 @@ public class HealthCheckTest {
@Test
public void testBookKeeperDown() throws Exception {
for (BKContainer b : pulsarCluster.getBookies()) {
- b.execCmd("pkill", "-STOP", "-f", "BookieServer");
+ b.execCmd("pkill", "-STOP", "-f", "Main");
}
assertHealthcheckFailure();
}
