// --------------- Test Sort Matches that are canceled while still reading / sorting -----------------
// @Test
public void testCancelSortMatchWhileReadingSlowInputs() throws Exception {
GenericDataSource<InfiniteIntegerInputFormatWithDelay> source1 =
new GenericDataSource<InfiniteIntegerInputFormatWithDelay>(new InfiniteIntegerInputFormatWithDelay(), "Source 1");
GenericDataSource<InfiniteIntegerInputFormatWithDelay> source2 =
new GenericDataSource<InfiniteIntegerInputFormatWithDelay>(new InfiniteIntegerInputFormatWithDelay(), "Source 2");
JoinOperator matcher = JoinOperator.builder(SimpleMatcher.class, IntValue.class, 0, 0)
.input1(source1)
.input2(source2)
.name("Sort Join")