[OPNFLWPLUG-1061] add getFullyStarted() to OpenFlowPluginProviderImpl Created: 08/Jan/19  Updated: 29/Jan/19  Resolved: 29/Jan/19

Status: Resolved
Project: OpenFlowPlugin
Component/s: None
Affects Version/s: None
Fix Version/s: Neon

Type: Bug Priority: Medium
Reporter: Michael Vorburger Assignee: Michael Vorburger
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks OPNFLWPLUG-1046 Migrate OFP from XML to annotation ba... Resolved

 Description   

add getFullyStarted() to OpenFlowPluginProviderImpl and fix the order of isOnlineFuture vs readyRunnable: For a test to be able to await getFullyStarted() and then check diagstatus, that (diagstatus) needs to be set BEFORE, otherwise there is a race condition.

This has come up while writing the testDiagStatus() for the OpenFlowPluginWiringTest for opendaylight-simple.



 Comments   
Comment by Michael Vorburger [ 08/Jan/19 ]

required by OPNFLWPLUG-1046 ...

Comment by Michael Vorburger [ 08/Jan/19 ]

https://git.opendaylight.org/gerrit/#/c/78898/

Comment by Arunprakash D [ 29/Jan/19 ]

vorburger, do we plan to cherry pick to stable/flourine?

Comment by Michael Vorburger [ 29/Jan/19 ]

Nope, I don't ... the reason / background / motivation for this was to be able to writing the testDiagStatus() for the OpenFlowPluginWiringTest for opendaylight-simple, and that won't work on stable/flourine anyway for other reasons, so no need. Therefore closing this issue as Done.

Generated at Wed Feb 07 20:34:05 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.