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

ASF GitHub Bot commented on TIKA-3944:
--------------------------------------

anantdahiya8 commented on PR #845:
URL: https://github.com/apache/tika/pull/845#issuecomment-1345695748

   the `metdata` stores the information in a `HashMap` does not guarentee the 
order of elements. The order of the elements can change in the `toString` 
function. I have updated the test to take this into account.
   
   1.
   
![image](https://user-images.githubusercontent.com/20678029/206936833-03a2d364-66f3-46d4-a9a0-795d99ad1ce8.png)
   
   2.
   
![image](https://user-images.githubusercontent.com/20678029/206936855-4cf0f202-1565-4d01-ad39-0cdb79ec3b87.png)
   
   




> junit flaky test in tika-core
> -----------------------------
>
>                 Key: TIKA-3944
>                 URL: https://issues.apache.org/jira/browse/TIKA-3944
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Anant Dahiya
>            Priority: Major
>
> Test: *org.apache.tika.metadata.TestMetadata#testToStringWithManyEntries*
>  
> *How did we detect Flaky Test ?*
> We detected the existence of flaky test using the tool 
> [NonDex|https://github.com/TestingResearchIllinois/NonDex]
>  
> *Command*
> {code:java}
> mvn edu.illinois:nondex-maven-plugin:2.1:nondex 
> -Dtest=org.apache.tika.metadata.TestMetadata#testToStringWithManyEntries 
> {code}
>  



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

Reply via email to