You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/08/28 13:15:00 UTC

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

     [ https://issues.apache.org/jira/browse/KARAF-5879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-5879:
----------------------------------------
    Fix Version/s: cave-4.1.1

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: cave-4.1.1
>
>
> 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)