Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-368

Sporadic MasterShipStore unittest failure

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      When building I sometimes get the following:

      getRole(org.onlab.onos.store.mastership.impl.DistributedMastershipStoreTest) Time elapsed: 0.001 sec <<< FAILURE!
      java.lang.AssertionError: wrong role: expected:<MASTER> but was:<NONE>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.onlab.onos.store.mastership.impl.DistributedMastershipStoreTest.getRole(DistributedMastershipStoreTest.java:114)

      Running org.onlab.onos.store.mastership.impl.RoleValueTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.onlab.onos.store.mastership.impl.RoleValueTest
      Running org.onlab.onos.store.service.impl.MapDBLogTest
      Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec - in org.onlab.onos.store.service.impl.MapDBLogTest

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ash ash
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: