You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/11/02 22:45:00 UTC
[jira] [Resolved] (NIFI-10738) Improve V3SNMPFactoryTest intermittent failures
[ https://issues.apache.org/jira/browse/NIFI-10738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann resolved NIFI-10738.
-------------------------------------
Fix Version/s: 1.19.0
Resolution: Fixed
> Improve V3SNMPFactoryTest intermittent failures
> -----------------------------------------------
>
> Key: NIFI-10738
> URL: https://issues.apache.org/jira/browse/NIFI-10738
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.18.0
> Reporter: Nathan Gough
> Assignee: Nathan Gough
> Priority: Minor
> Fix For: 1.19.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The V3SNMPFactoryTest fails intermittently due to a failure to bind to interface exception. There is likely a race condition occurring between when we try to claim an available port to use in the test and when the server attempts to bind to that address. Currently I can't think of an atomic way to reserve a port and provide it to the server without that server library supporting such a feature, so instead we may have to create a testing method which provides multiple binding attempts by catching a bind exception and retrying some number of times.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)