[SFC-140] SfcL2OfRendererDataListenerTest::invalidTableOffset() is broken Created: 24/Feb/16  Updated: 29/May/18  Resolved: 29/May/18

Status: Verified
Project: sfc
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Stephen Kitt Assignee: Jose-Santos Pulido Garcia
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5415

 Description   

Specifically, the second test

// Table Offset must be greater than 1
change = createSfcOfRendererConfig(1, 100);
this.sfcL2OfRendererDataListener.onDataChanged(change);
verifySettersNotCalled();

passes in seemingly valid offset and causes the setters to be called. The test passes if it finishes before the thread has had a chance to run, but if the thread runs before the test finishes then the assertions fail (either those directly after this call or those after the following test).

https://git.opendaylight.org/gerrit/35343 provides the code necessary to verify the failure, but doesn't fix things.



 Comments   
Comment by Jose-Santos Pulido Garcia [ 23/May/16 ]

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

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