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 @@ -537,7 +537,8 @@ public void testPipelineExclusionWithPipelineFailure() throws Exception {
assertThat(keyOutputStream.getExcludeList().getPipelineIds())
.contains(pipeline.getId());
assertThat(keyOutputStream.getExcludeList().getContainerIds()).isEmpty();
assertThat(keyOutputStream.getExcludeList().getDatanodes()).isEmpty();
// Datanodes are not asserted: watchForCommit can time out against the two shut down
// followers, which then get recorded as failed servers and added to the exclude list.
// The close will just write to the buffer
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public void testPipelineExclusionWithPipelineFailure() throws Exception {
key.write(data.getBytes(UTF_8));
key.flush();
assertThat(keyOutputStream.getExcludeList().getContainerIds()).isEmpty();
assertThat(keyOutputStream.getExcludeList().getDatanodes()).isEmpty();
assertThat(keyOutputStream.getExcludeList().getDatanodes()).isEmpty();
// Datanodes are not asserted: watchForCommit can time out against the two shut down
// followers, which then get recorded as failed servers and added to the exclude list.
key.write(data.getBytes(UTF_8));
// The close will just write to the buffer
}
Expand Down
Loading