karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satya Deep Maheshwari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2558) Unit Tests in error when building from trunk on Windows platform
Date Sat, 09 Nov 2013 12:04:17 GMT

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

Satya Deep Maheshwari updated KARAF-2558:
-----------------------------------------

    Attachment: KARAF-2558.patch

Attaching patch for review.

Identified a couple of issues:
1. In org.apache.karaf.main.MainStartTest , used junit TemporaryFolder which is ensured to
be deleted after test completion instead of an earlier folder which wasn't getting deleted
on windows platform because it was shared across test cases and locked for deletion.

2.In PropertiesLoginModuleTest , fixed the path to be platform agnostic instead of using '/'
path separator which does not work on Windows platform.

> Unit Tests in error when building from trunk  on Windows platform
> -----------------------------------------------------------------
>
>                 Key: KARAF-2558
>                 URL: https://issues.apache.org/jira/browse/KARAF-2558
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.0.RC1
>            Reporter: Satya Deep Maheshwari
>              Labels: build
>         Attachments: KARAF-2558.patch
>
>
> Some UTs are failing when building from the trunk on Windows platform. The failing tests
are:
>  testAutoStart(org.apache.karaf.main.MainStartTest): Unable to delete file: C:\svn\svn.apache.org\karaf\main\target\test-classes\test-karaf-home\data\log\karaf.log

>   testStopWithTimeout(org.apache.karaf.main.MainStartTest): Unable to delete file: C:\svn\svn.apache.org\karaf\main\target\test-classes\test-karaf-home\data\log\karaf.log




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message