You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2024/05/03 10:09:00 UTC

[jira] [Updated] (MAPREDUCE-7476) Follow up of MAPREDUCE-7475 - fix more non-idempotent tests

     [ https://issues.apache.org/jira/browse/MAPREDUCE-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated MAPREDUCE-7476:
--------------------------------------
    Summary: Follow up of MAPREDUCE-7475 - fix more non-idempotent tests  (was: 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))

> Follow up of MAPREDUCE-7475 - fix more non-idempotent tests
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-7476
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7476
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Kaiyao Ke
>            Priority: Major
>              Labels: pull-request-available
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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
>  * org.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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org