[ https://issues.apache.org/jira/browse/NIFI-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Witt closed NIFI-151. ---------------------------- Resolution: Fixed Assignee: Joseph Witt Fixed on develop branch. commit 51d177b2426e4940134069c28d8d7f70c473a353 Author: joewitt <joew...@apache.org> Date: Wed Dec 10 07:09:18 2014 -0500 NIFI-151 Fixed test issue which resulted from needing to cleanup after previous runs > web api DfmAccessControlTest fails unless doing a clean install > --------------------------------------------------------------- > > Key: NIFI-151 > URL: https://issues.apache.org/jira/browse/NIFI-151 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Reporter: Joseph Witt > Assignee: Joseph Witt > Priority: Minor > Fix For: 0.0.1 > > > Tests run: 29, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 12.159 sec > <<< FAILURE! - in > org.apache.nifi.integration.accesscontrol.DfmAccessControlTest > testImportTemplate(org.apache.nifi.integration.accesscontrol.DfmAccessControlTest) > Time elapsed: 0.396 sec <<< FAILURE! > java.lang.AssertionError: expected:<201> but was:<200> > 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.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at > org.apache.nifi.integration.accesscontrol.DfmAccessControlTest.testImportTemplate(DfmAccessControlTest.java:1310) > If you do a clean install then it works fine. So the 201/200 makes sense. > The test though seems to be not properly cleaning up after itself. -- This message was sent by Atlassian JIRA (v6.3.4#6332)