karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5879) CaveFeatureGatewayImplTest.testRemove fails due to OutputStream not being closed
Date Sat, 25 Aug 2018 01:09:00 GMT

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

ASF GitHub Bot commented on KARAF-5879:

bobpaulin opened a new pull request #11: KARAF-5879 - Close input and output streams in CaveFeatureGateway/Test.
URL: https://github.com/apache/karaf-cave/pull/11
   Close Input and Output Streams to fix tests.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> 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
>            Priority: Minor
> 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

View raw message