You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/07/02 08:03:00 UTC

[jira] [Commented] (HADOOP-19601) Fix Unit Test Failure in ITestAzureBlobFileSystemMainOperation

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

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

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

   > +1
   > Thanks for fixing this. But this might already get covered in #7653
   
   @anujmodi2021 Thank you very much for your help with the review! You are right; this is the same as the work completed in #7653, so we can go ahead and close this PR.
   




> Fix Unit Test Failure in ITestAzureBlobFileSystemMainOperation
> --------------------------------------------------------------
>
>                 Key: HADOOP-19601
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19601
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: hadoop-azure, test
>    Affects Versions: 3.5.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>
> The unit test failure in ITestAzureBlobFileSystemMainOperation is due to the missing {{@BeforeEach}} and {{@AfterEach}} annotations. This occurs because in JUnit 5, if a subclass overrides the parent class's {{setup}} and {{tearDown}} methods, the {{@BeforeEach}} and {{@AfterEach}} annotations must be explicitly added.



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

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