[
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.

2.

> 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)