Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -771,9 +771,11 @@ void handleLeaderChangedNotification(RaftGroupMemberId groupMemberId,
}

private void sendPipelineReport() {
// TODO: Send IncrementalPipelineReport instead of full PipelineReport
context.addReport(context.getParent().getContainer().getPipelineReport());
context.getParent().triggerHeartbeat();
if (context != null) {
// TODO: Send IncrementalPipelineReport instead of full PipelineReport
context.addReport(context.getParent().getContainer().getPipelineReport());
context.getParent().triggerHeartbeat();
}
}

private static List<ThreadPoolExecutor> createChunkExecutors(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@
import java.util.Map;
import java.util.function.BiConsumer;

import org.junit.Ignore;
import org.junit.Test;
import org.junit.Assert;

/**
* This class tests the metrics of ContainerStateMachine.
*/
@Ignore
public class TestCSMMetrics {
static final String TEST_DIR =
GenericTestUtils.getTestDir("dfs").getAbsolutePath()
Expand Down