You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Bob Paulin (JIRA)" <ji...@apache.org> on 2018/08/25 01:00:19 UTC

[jira] [Created] (KARAF-5879) CaveFeatureGatewayImplTest.testRemove fails due to OutputStream not being closed

Bob Paulin created KARAF-5879:
---------------------------------

             Summary: CaveFeatureGatewayImplTest.testRemove fails due to OutputStream not being closed
                 Key: KARAF-5879
                 URL: https://issues.apache.org/jira/browse/KARAF-5879
             Project: Karaf
          Issue Type: Bug
          Components: cave-maven
    Affects Versions: cave-4.1.1
         Environment: Windows 10

Java 8
            Reporter: Bob Paulin


The CaveFeatureGatewayImplTest.setup method is suppose to delete the cave-features-gateway.xml file before each test is run.  This does not succeed on my machine because the marshalling that occurs in the CaveFeatureGatewayImpl.register and CaveFeatureGatewayImpl.remove contains an OutputStream that does not get properly closed.  Similarly the InputStreams within CaveFeatureGatewayImplTest.readCaveFile are also not being properly closed.  

 

Results :

Failed tests: 
  CaveFeatureGatewayImplTest.testRemove:61 expected:<...repository>mvn:test/[]second/1.0-SNAPSHOT<...> but was:<...repository>mvn:test/[test/1.0-SNAPSHOT</repository>    <repository>mvn:test/]second/1.0-SNAPSHOT<...>

Tests run: 8, Failures: 1, Errors: 0, Skipped: 0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)