Skip to content

Commit fa33fdb

Browse files
committed
Clear shared state pollution to avoid flaky tests
1 parent 0c7b951 commit fa33fdb

File tree

1 file changed

+1
-0
lines changed
  • hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app

1 file changed

+1
-0
lines changed

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/v2/app/TestMRAppMaster.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ public void testMRAppMasterCredentials() throws Exception {
504504
@Test
505505
public void testMRAppMasterShutDownJob() throws Exception,
506506
InterruptedException {
507+
ExitUtil.resetFirstExitException();
507508
String applicationAttemptIdStr = "appattempt_1317529182569_0004_000002";
508509
String containerIdStr = "container_1317529182569_0004_000002_1";
509510
String userName = "TestAppMasterUser";

0 commit comments

Comments
 (0)