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

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

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

   > I need this in ASAP as there's no way to validate any other PR: failures 
of their tests are meaningless.
   > 
   > @slfan1989 @ahmarsuhail @mukund-thakur can I get an upvote on this?
   > 
   > It isn't perfect, but it's test ony code and we can tune later
   
   @steveloughran  Thanks for your contribution! I believe this PR is good 
enough, and we can go ahead and merge it.




> 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
>
> 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