You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Satya Deep Maheshwari (JIRA)" <ji...@apache.org> on 2013/11/09 13:04:17 UTC

[jira] [Updated] (KARAF-2558) Unit Tests in error when building from trunk on Windows platform

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