Uploaded image for project: 'sfc'
  1. sfc
  2. SFC-140

SfcL2OfRendererDataListenerTest::invalidTableOffset() is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jose.santos.pulido.garcia@ericsson.com Jose-Santos Pulido Garcia
            skitt Stephen Kitt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: