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 "Shilun Fan (Jira)" <ji...@apache.org> on 2025/06/29 03:33:00 UTC

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

Shilun Fan created HADOOP-19601:
-----------------------------------

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


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