Skip to content

Commit

Permalink
TEZ-4364: TestFaultTolerance timeout on master
Browse files Browse the repository at this point in the history
  • Loading branch information
abstractdog committed Dec 26, 2021
1 parent c9b8e90 commit 757081c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tez-tests/src/test/java/org/apache/tez/test/TestInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public int doRead() {
for (int i=0; i<getNumPhysicalInputs(); ++i) {
String msg = ("FailingInput: " + getContext().getUniqueIdentifier() +
" index: " + i + " version: " + lastInputReadyValue);
events.add(InputReadErrorEvent.create(msg, i, lastInputReadyValue));
events.add(InputReadErrorEvent.create(msg, i, lastInputReadyValue, 1, false, false, "localhost"));
LOG.info("Failing input: " + msg);
}
} else {
Expand All @@ -189,7 +189,7 @@ public int doRead() {
}
String msg = ("FailingInput: " + getContext().getUniqueIdentifier() +
" index: " + index.intValue() + " version: " + lastInputReadyValue);
events.add(InputReadErrorEvent.create(msg, index.intValue(), lastInputReadyValue));
events.add(InputReadErrorEvent.create(msg, index.intValue(), lastInputReadyValue, 1, false, false, "localhost"));
LOG.info("Failing input: " + msg);
}
}
Expand Down Expand Up @@ -263,7 +263,7 @@ public int doRead() {
getContext().getUniqueIdentifier() +
" index: " + index + " version: " + sourceInputVersion;
LOG.info(msg);
events.add(InputReadErrorEvent.create(msg, index, sourceInputVersion));
events.add(InputReadErrorEvent.create(msg, index, sourceInputVersion, 1, false, false, "localhost"));
}
}
}
Expand Down

0 comments on commit 757081c

Please sign in to comment.