directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From feez...@gdls.com
Subject Re: [jira] Commented: (DIRSERVER-1541) Numerous JUnit tests failing on Windows.
Date Mon, 13 Sep 2010 09:53:17 GMT
I run the tests using "mvn test -Dintegration" at a command prompt.

"Stefan Seelmann (JIRA)" <jira@apache.org> wrote on 09/13/2010 01:55:34 
AM:

> 
>     [ https://issues.apache.org/jira/browse/DIRSERVER-1541?page=com.
> atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=12908628#action_12908628 ] 
> 
> Stefan Seelmann commented on DIRSERVER-1541:
> --------------------------------------------
> 
> i'm using Sun JDK 1.6.0_20.
> 
> Did you run the tests from within Eclipse (either as JUnit tests or 
> with m2eclipse maven plugin) or from command line? I ask because I 
> found out that the behaviour is different in each case. If I run 
> "mvn clean install" from command line the schema is extracted from 
> the JARs that were deployed to the local maven repo. However if I 
> run the tests from within Eclipse as JUnit tests then the projects 
> in the workspace are referenced directly, so the schema is extracted
> from the target/classes directory.
> 
> 
> > Numerous JUnit tests failing on Windows.
> > ----------------------------------------
> >
> >                 Key: DIRSERVER-1541
> >                 URL: 
https://issues.apache.org/jira/browse/DIRSERVER-1541
> >             Project: Directory ApacheDS
> >          Issue Type: Bug
> >          Components: core, ldap, schema
> >    Affects Versions: 2.0.0-RC1
> >         Environment: All Microsoft Windows.
> >            Reporter: Richard M Feezel
> >            Assignee: Emmanuel Lecharny
> >            Priority: Minor
> >             Fix For: 2.0.0-RC1
> >
> >         Attachments: ADS_Patches.diff.txt, WindowsPatches.diff
> >
> >
> > File names and paths are not being handled in a platform-
> independent manner is all cases.
> > In particular, in regex matching patterns the "\" has special 
> meaning.  On Windows the "\" is used as the file directory separator
> character so a regex attempting to test for a directory separator 
> character must be constructed in a platform-dependent manner.
> > Also, certain characters are not allowed in file names in 
> Microsoft Windows.  Any attempt to use such names must have these 
> special characters "escaped" to safe characters.  Since the "\" 
> character is the directory separator character it is unsuitable for 
> special character escaping.
> > Finally, in the JdbmStoreTest test, stores and indexes must be 
> destroyed and/or closed to permit deletion of the underlying files 
> at completion of the test run.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 



This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only
and may contain confidential and privileged information.  No one else may read, print, store,
copy, forward or act in reliance on it or its attachments.  If you are not the intended recipient,
please return this message to the sender and delete the message and any attachments from your
computer. Your cooperation is appreciated.


Mime
View raw message