org.opennms.netmgt.dao.NodeDaoTest has test method order dependency for success

Description

In a local repo, I'd bumped the maven dependency for JUnit from 4.10 to 4.11. In troubleshooting subsequent test failures, I've found that org.opennms.netmgt.dao.NodeDaoTest appears to have some test method run order dependency that causes subsequent tests to fail.

For example, this method order succeeded:

While this method order failed:

with these specific tests failing:

The error given is:

Acceptance / Success Criteria

None

depends on

Lucidchart Diagrams

Activity

Show:

Seth Leger August 18, 2017 at 3:19 PM

We were able to fix all of the test ordering issues by version 18 when we upgraded JUnit. Marking as fixed.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 29, 2014 at 4:33 PM
Updated August 18, 2017 at 3:19 PM
Resolved August 18, 2017 at 3:19 PM