You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2008/08/06 23:52:44 UTC

[jira] Created: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

@Ignore annotation on both core and server integ causes tests to stop
---------------------------------------------------------------------

                 Key: DIRSERVER-1223
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core-integ
            Reporter: Alex Karasulu
             Fix For: 1.5.4


The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623036#action_12623036 ] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

Trying to fix the ModifyRdnIT tests...

There was a problem in the way the RDN.unEscapeValue( String ) method was handling '#' not in first position and ' ' in the middle of a value, plus another problem because we simply weren't calling this method when creating the new attribute.

Fixing those two bugs fixed tests testModifyRdnWithEncodedNewRdn() and testModifyRdnWithEscapedPoundNewRdn ().

The two other tests are a little bit more complex : the reverse LDIF is not correct when we have a RDN with more than one AVA, as we blindly delete all the attributes even if they were present in the original entry.

> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.4
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu updated DIRSERVER-1223:
-------------------------------------

    Fix Version/s:     (was: 1.5.4)
                   1.5.9

> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.9
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623056#action_12623056 ] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

Fixed one more test in ModifyRdnIT tests.

There are two remaining tests which won't be fixed : 
testModifyMultiValuedRdnVariant5
testModifyMultiValuedRdnVariant6

> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.4
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880168#action_12880168 ] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

After clean up, we still have 26 ignored tests that need to be corrected :

@Ignore : 144 tests
core-integ : AliasSearchIT (8)
	testDerefDescendantOfAlias
	testOuHr 
	testUidFoobar
	testUidUser1OuManager
	testOuUser3_Loop
	testCnDeputyOuUser3_Loop
	testCursorNextPrevWithReset
	testCursorPrevNext

core-integ : SearchBinaryIT (1)
	testSearchSubstrOnBinaryAttribute

core-integ : SubentryServiceIT (4)
	testSubentryModifyRdn
	testEntryMoveWithRdnChange
	testEntryMove
	testSubentriesControl

core-integ : SubentryServiceForTriggersIT (8)
	All the 8 tests

core-integ : TriggerInterceptorIT (3)
	All the 3 tests

jdbm-partition : PartitionSchemaLoaderTest (2)
	Not implemented !!!


> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 2.0.0-RC1
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622816#action_12622816 ] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

Here is the list of test currently being @Ignored :

core-integ
----------------
org.apache.directory.server.core.jndi.SearchITest.testSearchSizeLimit()
org.apache.directory.server.core.jndi.SearchITest.testSearchTimeLimit()
org.apache.directory.server.core.jndi.SubschemaSubentryIT.testTimestampAndModifierUpdates()
org.apache.directory.server.core.jndi.SubentryServiceIT (all the tests)
org.apache.directory.server.core.jndi.SubentryServiceIT SubentryServiceForTriggersIT (all the tests)
TriggerInterceptorIT ( all the tests)

for a total of 25 tests

server-integ
-------------------
org.apache.directory.server.operations.modifydn.ModifyRdnIT.testModifyRdnWithEncodedNewRdn()
org.apache.directory.server.operations.modifydn.ModifyRdnIT.testModifyRdnWithEscapedPoundNewRdn
org.apache.directory.server.operations.modifydn.ModifyRdnIT.testModifyMultiValuedRdnVariant5
org.apache.directory.server.operations.modifydn.ModifyRdnIT.testModifyMultiValuedRdnVariant6

for a total of 4 tests

mitosis
-----------
org.apache.directory.mitosis.service.ReplicationServiceITest.testOneWay()

for a total of one test

shared-ldap
-------------------
org.apache.directory.shared.ldap.codec.util.LdapUrlTest (all tests)
org.apache.directory.shared.ldap.ldif.LdifUtilsTest.testReverseModifyAddExistingCnValue()

for a total of 111 tests

We have a grand total of 141 tests ignored atm.



> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.4
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622991#action_12622991 ] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

org.apache.directory.shared.ldap.codec.util.LdapUrlTest tests are not ignored anymore.


> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.4
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1223:
-----------------------------------------

    Fix Version/s:     (was: 1.5.9)
                   2.0.0-RC1

Affected to 2.0.0-RC1, we won't release a 1.5.9

> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 2.0.0-RC1
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.  The the test methods following a test with a @Ignore never execute even if they have no @Ignore.  Also in a suite the test classes do not execute if after the test class with @Ignore annotations on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.