mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
17.43.2009 e25d193e0261aa0720aaf8b59acb066a91ae6700
Fix a problem where NamingConflictTest can fail because a previous test
has enabled strict syntax checking.
1 files modified
13 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/NamingConflictTest.java 13 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/NamingConflictTest.java
@@ -75,6 +75,8 @@
    LDAPReplicationDomain domain =
      MultimasterReplication.createNewDomain(conf, queue);
    try
    {
    /*
     * Create a Change number generator to generate new ChangeNumbers
     * when we need to send operations messages to the replicationServer.
@@ -88,14 +90,12 @@
        + "objectClass: top\n" + "objectClass: person\n"
        + "objectClass: organizationalPerson\n"
        + "objectClass: inetOrgPerson\n" + "uid: user.1\n"
        + "homePhone: 951-245-7634\n"
        + "description: This is the description for Aaccf Amar.\n" + "st: NC\n"
        + "mobile: 027-085-0537\n"
        + "postalAddress: Aaccf Amar$17984 Thirteenth Street"
        + "$Rockford, NC  85762\n" + "mail: user.1@example.com\n"
        + "cn: Aaccf Amar\n" + "l: Rockford\n" + "pager: 508-763-4246\n"
          + "cn: Aaccf Amar\n" + "l: Rockford\n"
        + "street: 17984 Thirteenth Street\n"
        + "telephoneNumber: 216-564-6748\n" + "employeeNumber: 1\n"
          + "employeeNumber: 1\n"
        + "sn: Amar\n" + "givenName: Aaccf\n" + "postalCode: 85762\n"
        + "userPassword: password\n" + "initials: AA\n");
@@ -128,7 +128,10 @@
    assertFalse(DirectoryServer.entryExists(entry.getDN()),
        "The modDN conflict was not resolved as expected.");
    }
    finally
    {
    MultimasterReplication.deleteDomain(baseDn);
  }
}
}