Skip to content
Success

#17 (Aug 22, 2015, 5:35:09 AM)

Started 9 yr 10 mo ago
Took 5 min 5 sec
Build Artifacts
opendj-ldap-toolkit-3.0.0-SNAPSHOT.zip4.02 MiB view
opendj-rest2ldap-servlet-3.0.0-SNAPSHOT-servlet.war3.09 MiB view
opendj-server-example-plugin-3.0.0-SNAPSHOT.zip33.34 KiB view
experimental/example-plugin.zip10.00 KiB view
src.zip304.99 KiB view
target/example-plugin.zip87.93 KiB view
opendj/example-plugin.zip87.93 KiB view
OpenDJ-3.0.0-DSML.war17.21 MiB view
OpenDJ-3.0.0.zip30.64 MiB view

Started by an SCM change

Test Result (no failures)
    Revision: 12771
    Changes
    1. Reverted part of r12768 (detail)
      by JnRouvignac
    2. Test code cleanup


      NamingConflictTest.java
      Extracted fields to simplify code in test methods.
      Extracted methods setUpLocal(), tearDown(), addMsg(), modDnMsg(), replayMsg(), createAndAddEntry(), createParentEntry(), createChildEntry().

      ModifyConflictTest.java:
      Made the code a bit more readable. (detail)
      by JnRouvignac
    3. AttrHistoricalSingle.java:
      Extracted methods replaceOrDelete(), add(), replace(), delete() and deleteWithoutDeleteTime() to increase code expressiveness. (detail)
      by JnRouvignac
    4. AssuredReplicationPluginTest.java:
      Used ReplicationTestCase.waitForSpecificMsg() and waitForSpecificMsgs() to ignore unrelated messages.

      ReplicationTestCase.java:
      Added methods:
      - waitForSpecificMsgs(Session session, Class<?>... msgTypes)
      - waitForSpecificMsgs(ReplicationBroker broker, Class<?>... msgTypes)
      Changed
      <T extends ReplicationMsg> T waitForSpecificMsg(Session session, ReplicationBroker broker, Class<T> msgType)
      to
      ReplicationMsg waitForSpecificMsgs(Session session, ReplicationBroker broker, Class<?>... msgTypes) (detail)
      by JnRouvignac
    5. HistoricalAttributeValueTestCase.java:
      Added test values. (detail)
      by JnRouvignac
    6. AttrHistoricalMultiple.java, AttrValueHistorical.java:
      Improved toString() (detail)
      by JnRouvignac
    7. Fix random test failure.
      Tests methods were not properly isolated. The sequence testUpdateDeletedIDs() followed by testUpdateAddedIDs() caused the following failure:
      17:42:32                  T E S T   F A I L U R E ! ! !
      17:42:32
      17:42:32 Failed Test:  org.opends.server.backends.pluggable.DefaultIndexTest#testUpdateAddedIDs
      17:42:32 Failure Cause:  java.lang.AssertionError:
      17:42:32 Expecting:
      17:42:32  <[]>
      17:42:32 to contain:
      17:42:32  <[1, 2, 3, 4]>
      17:42:32 but could not find:
      17:42:32  <[1, 2, 3, 4]>
      17:42:32
      17:42:32     org.opends.server.backends.pluggable.Utils.assertIdsEquals(Utils.java:39)
      17:42:32     org.opends.server.backends.pluggable.Utils.assertIdsEquals(Utils.java:51)
      17:42:32     org.opends.server.backends.pluggable.DefaultIndexTest.testUpdateAddedIDs(DefaultIndexTest.java:76)



      DefaultIndexTest.java:
      In setUp(), use @BeforeMethod annotation (rather than @BeforeTest)
      (detail)
      by JnRouvignac