[ 
https://issues.apache.org/jira/browse/HADOOP-19610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010871#comment-18010871
 ] 

ASF GitHub Bot commented on HADOOP-19610:
-----------------------------------------

slfan1989 commented on PR #7814:
URL: https://github.com/apache/hadoop/pull/7814#issuecomment-3135524041

   @steveloughran I'll follow up on the Yarn MiniCluster issue, but it might be 
later today. I've dealt with a similar issue before, so it might be helpful. 
The main cause is that during parallel testing, different unit tests are 
accessing the same configuration file, as some of the configurations are stored 
in directories like `/tmp/yarn/jenkins`.




> S3A: ITests to run under JUnit5
> -------------------------------
>
>                 Key: HADOOP-19610
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19610
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: 3.5.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> hadoop-aws tests which need to be parameterized on a class level
> are configured to do so through the @ParameterizedClass tag.
> Filesystem contract test suites in hadoop-common have
> also been parameterized as appropriate.
> There are custom JUnit tags declared in org.apache.hadoop.test.tags,
> which add tag strings to test suites/cases declaring them.
> They can be used on the command line and in IDEs to control
> which tests are/are not executed.
> @FlakyTest "flaky"
> @LoadTest "load"
> @RootFilesystemTest "rootfilesystem"
> @ScaleTest "scale"
> For anyone migrating tests to JUnit 5
> * Methods which subclass an existing test case MUST declare the @Test
>   tag again -it is no longer inherited.
> * All overridden setup/teardown methods MUST be located and
>   @BeforeEach/@AfterEach attribute added respectively
> * Subclasses of a parameterized test suite MUST redeclare themselves
>   as a @ParameterizedClass, and the binding mechanism again.
> * Parameterized test suites SHOULD declare a pattern to generate an
>   informative parameter value string for logs, IDEs and stack traces, e.g.
>   @ParameterizedClass(name="performance-{0}")
> * Test suites SHOULD add a org.apache.hadoop.test.tags tag to
>   declare what kind of test it is. These tags are inherited, so it
>   may be that only shared superclasses of test suites need to be tagged.
>   The abstract filesystem contract tests are NOT declared as integration
>   tests -implementations MUST do so if they are integration tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to