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

ASF GitHub Bot logged work on HDFS-16611:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/22 15:29
            Start Date: 31/May/22 15:29
    Worklog Time Spent: 10m 
      Work Description: slfan1989 opened a new pull request, #4387:
URL: https://github.com/apache/hadoop/pull/4387

   JIRA:HDFS-16611. impove TestSeveralNameNodes#testCircularLinkedListWrites 
Params.




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

            Worklog Id:     (was: 776396)
    Remaining Estimate: 0h
            Time Spent: 10m

> impove TestSeveralNameNodes#testCircularLinkedListWrites Params
> ---------------------------------------------------------------
>
>                 Key: HDFS-16611
>                 URL: https://issues.apache.org/jira/browse/HDFS-16611
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I was dealing with HDFS-16590 JIRA, Junit Tests often reported errors,  
> I found that the following error messages often appear
> org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes#
> testCircularLinkedListWrites
>  * 1st run
> {code:java}
> 1st run
> [ERROR] 
> testCircularLinkedListWrites(org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes)
>   Time elapsed: 114.252 s  <<< FAILURE!
> java.lang.AssertionError: 
> Some writers didn't complete in expected runtime! Current writer 
> state:[Circular Writer:
>        directory: /test-0
>        target length: 50
>        current item: 43
>        done: false
> , Circular Writer:
>        directory: /test-1
>        target length: 50
>        current item: 47
>        done: false
> , Circular Writer:
>        directory: /test-2
>        target length: 50
>        current item: 42
>        done: false
> ] expected:<0> but was:<3>
> {code}
>  * 2st run
> {code:java}
>  [ERROR] 
> testCircularLinkedListWrites(org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes)
>   Time elapsed: 110.349 s  <<< FAILURE!
> java.lang.AssertionError: 
> Some writers didn't complete in expected runtime! Current writer 
> state:[Circular Writer:
>        directory: /test-0
>        target length: 50
>        current item: 50
>        done: false
> , Circular Writer:
>        directory: /test-1
>        target length: 50
>        current item: 49
>        done: false
> , Circular Writer:
>        directory: /test-2
>        target length: 50
>        current item: 49
>        done: false
> ] expected:<0> but was:<3>
> {code}
>  * 3rd run
> {code:java}
> [ERROR] 
> testCircularLinkedListWrites(org.apache.hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes)
>   Time elapsed: 109.364 s  <<< FAILURE!
> java.lang.AssertionError: 
> Some writers didn't complete in expected runtime! Current writer 
> state:[Circular Writer:
>        directory: /test-0
>        target length: 50
>        current item: 47
>        done: false
> , Circular Writer:
>        directory: /test-1
>        target length: 50
>        current item: 47
>        done: false
> , Circular Writer:
>        directory: /test-2
>        target length: 50
>        current item: 46
>        done: false
> ] expected:<0> but was:<3>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to