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

David Handermann commented on NIFI-9625:
----------------------------------------

It looks like there are a number of potential failure points in the test class 
due to the way it is starting and stopping servers and clients.  Refactoring 
the implementation for better resource handling should make this test more 
stable.

> Unstable Distributed Cache test
> -------------------------------
>
>                 Key: NIFI-9625
>                 URL: https://issues.apache.org/jira/browse/NIFI-9625
>             Project: Apache NiFi
>          Issue Type: Bug
>         Environment: Maven home: /development/tools/apache-maven-3.8.4
> Java version: 1.8.0_322, vendor: Azul Systems, Inc., runtime: 
> /usr/lib/jvm/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.15.14-200.fc35.x86_64", arch: "amd64", family: 
> "unix"
>            Reporter: Joe Witt
>            Assignee: David Handermann
>            Priority: Major
>
> [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
> 4.788 s <<< FAILURE! - in 
> org.apache.nifi.distributed.cache.server.TestServerAndClient
> [ERROR] 
> org.apache.nifi.distributed.cache.server.TestServerAndClient.testClientTermination
>   Time elapsed: 0.021 s  <<< ERROR!
> java.net.BindException: Address already in use
>       at 
> org.apache.nifi.distributed.cache.server.TestServerAndClient.testClientTermination(TestServerAndClient.java:477)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to