Kaiyao Ke created MAPREDUCE-7476:
------------------------------------
Summary: Follow up of
https://issues.apache.org/jira/browse/MAPREDUCE-7475 - detected 5 more
non-idempotent tests(pass in the first run but fails in repeated runs in the
same JVM)
Key: MAPREDUCE-7476
URL: https://issues.apache.org/jira/browse/MAPREDUCE-7476
Project: Hadoop Map/Reduce
Issue Type: Bug
Reporter: Kaiyao Ke
Similar with https://issues.apache.org/jira/browse/MAPREDUCE-7475 , 5 more
non-idempotent unit tests are detected.
The following two tests below do not reset `NotificationServlet.counter`, so
repeated runs throw assertion failures due to accumulation:
* org.apache.hadoop.mapred.TestClusterMRNotification#testMR
* apache.hadoop.mapred.TestLocalMRNotification#testMR
The following test does not remove the key `AMParams.ATTEMPT_STATE`, so
repeated runs of the test will not be missing the attempt-state at all:
* org.apache.hadoop.mapreduce.v2.app.webapp.TestAppController.testAttempts
The following test fully deletes `TEST_ROOT_DIR` after execution, so repeated
runs will throw a`DiskErrorException`:
* org.apache.hadoop.mapred.TestMapTask#testShufflePermissions
The following test does not restore the static variable `statusUpdateTimes`
after execution, so consecutive runs throws `AssertionError`:
* org.apache.hadoop.mapred.TestTaskProgressReporter#testTaskProgress
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]