karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Paulin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5879) CaveFeatureGatewayImplTest.testRemove fails due to OutputStream not being closed
Date Sat, 25 Aug 2018 01:00:19 GMT
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)

Mime
View raw message