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

ASF subversion and git services commented on NIFI-10631:
--------------------------------------------------------

Commit a5d93d96a30b3af73146e4b3c2a36a86332bb774 in nifi's branch 
refs/heads/main from yiteng3
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a5d93d96a3 ]

NIFI-10631 Changed HashMap to LinkedHashMap in TestHBase_2_ClientService

- Adjustment avoids non-deterministic warnings related to HashMap ordering

This closes #6516

Signed-off-by: David Handermann <[email protected]>


> TestHBase_2_ClientService.testScan is a Flaky Test
> --------------------------------------------------
>
>                 Key: NIFI-10631
>                 URL: https://issues.apache.org/jira/browse/NIFI-10631
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: NiFi Registry
>         Environment: Apache Maven 3.6.0;
> openjdk version "1.8.0_342";
> OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07);
> OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode);
>            Reporter: Yiteng Zhang
>            Priority: Trivial
>         Attachments: org.apache.nifi.hbase.TestHBase_2_ClientService.txt
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
>  
> {code:java}
> org.apache.nifi.hbase.TestHBase_2_ClientService.testScan{code}
> This is a flaky test, it can pass maven-test while showing non-deterministic 
> behavior under [NonDex|[https://github.com/TestingResearchIllinois/NonDex]] 
> and thus failed.
> The test shows below:
> {code:java}
> [ERROR] Failures: 
> [ERROR]   TestHBase_2_ClientService.testScan:432->verifyResultCell:497 
> expected: <greeting> but was: <name> {code}
> *Steps to reproduce the failure:*
>  # install [NonDex|https://github.com/TestingResearchIllinois/NonDex]
>  # run the following command in nifi: 
> {code:java}
> MODULE=nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-site-to-site
>  
> TEST=org.apache.nifi.remote.protocol.http.TestHttpFlowFileServerProtocol#testTransferTwoFiles
>  
> mvn install -pl $MODULE -am -DskipTests 
> mvn -pl $MODULE edu.illinois:nondex-maven-plugin:1.1.2:nondex 
> -Dtest=$TEST{code}
>  # the result will be saved under the package folder in .nondex
>  



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

Reply via email to