all tests pass + System.exit to force exit from tests

This commit is contained in:
sridharv
2016-03-27 20:32:23 +02:00
parent b92c92867f
commit 9f558187aa

View File

@ -83,9 +83,8 @@ public class MoreAsserts {
failed = true;
}
}
if (failed) {
System.exit(1);
}
// NOTE: We need to call System.exit to force all go threads to exit.
System.exit(failed ? 1 : 0);
}
}