MAPREDUCE-3179. Ensure failed tests exit with right error code. Contributed by Jonathan Eagles.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1186552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a6cc9bafa8
commit
fc362b1caf
|
@ -1703,6 +1703,9 @@ Release 0.23.0 - Unreleased
|
|||
MAPREDUCE-3212. Fix usage/help message for bin/yarn. (Bhallamudi Venkata
|
||||
Siva Kamesh via acmurthy)
|
||||
|
||||
MAPREDUCE-3179. Ensure failed tests exit with right error code. (Jonathan
|
||||
Eagles via acmurthy)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -107,11 +107,13 @@ public class MapredTestDriver {
|
|||
}
|
||||
|
||||
public void run(String argv[]) {
|
||||
int exitCode = -1;
|
||||
try {
|
||||
pgd.driver(argv);
|
||||
exitCode = pgd.driver(argv);
|
||||
} catch(Throwable e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
System.exit(exitCode);
|
||||
}
|
||||
|
||||
public static void main(String argv[]){
|
||||
|
|
Loading…
Reference in New Issue