karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5879) CaveFeatureGatewayImplTest.testRemove fails due to OutputStream not being closed
Date Tue, 28 Aug 2018 13:16:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594956#comment-16594956
] 

ASF subversion and git services commented on KARAF-5879:
--------------------------------------------------------

Commit 924384e7e824edfc2a2097395207f4c6b02f137d in karaf-cave's branch refs/heads/master from
[~bobpaulin]
[ https://gitbox.apache.org/repos/asf?p=karaf-cave.git;h=924384e ]

KARAF-5879 - Close input and output streams in CaveFeatureGateway/Test. (#11)

[KARAF-5879]  Close input and output streams in CaveFeatureGateway/Test.


> 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)

Mime
View raw message