[ 
https://issues.apache.org/jira/browse/HADOOP-17873?focusedWorklogId=648876&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-648876
 ]

ASF GitHub Bot logged work on HADOOP-17873:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Sep/21 20:51
            Start Date: 09/Sep/21 20:51
    Worklog Time Spent: 10m 
      Work Description: steveloughran commented on pull request #3341:
URL: https://github.com/apache/hadoop/pull/3341#issuecomment-916427326


   OK, I have now discovered something while trying to track down why test 
running of the abfs integration tests in MAPREDUCE-7341 fail.
   
   the hadoop-azure pom *does* request parallel method execution 
   
   ```
   <parallel>both</parallel>
   ```
   
   I think this means that different processes do run different methods in the 
parallel phase. 
   
   This actually breaks anything which expects static state to be shared across 
different threads in the same test case, and also means that tests where 
`@FixMethodOrder(MethodSorters.NAME_ASCENDING)` is used to fix the method order
   
   Turning this feature off gets those tests to work.
   
   try commenting it out and see what difference it makes for you.
   
   I would like to change it to the same that other parallel runs have:  all 
methods in a TestCase is run in the same process, and after that test case has 
finished, the process ends.
   
   I'll make it a separate change from my PR, but will include it my PR as 
well, for completeness. 
   
   (thought it was some junit5 thing; not so)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 648876)
    Time Spent: 4h  (was: 3h 50m)

> ABFS: Fix transient failures in ITestAbfsStreamStatistics and 
> ITestAbfsRestOperationException
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17873
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17873
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.3.1
>            Reporter: Sumangala Patki
>            Assignee: Sumangala Patki
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> To address transient failures in the following test classes:
>  * ITestAbfsStreamStatistics: Uses a filesystem level instance to record 
> read/write statistics, which also tracks these operations in other tests. 
> running parallelly. To be marked for sequential run only to avoid transient 
> failure
>  * ITestAbfsRestOperationException: The use of a static member to track retry 
> count causes transient failures when two tests of this class happen to run 
> together. Switch to non-static variable for assertions on retry count



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to