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

gbellato
21.05.2009 07f6d1bc80578d436608188dd134e07015c10348
Increase a failure timeout in the fractional replication tests in the hope to
solve random failure with testInitWithFullUpdateIncludeNightly test
1 files modified
10 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java 10 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java
@@ -151,7 +151,7 @@
  @BeforeClass
  @Override
  public void setUp() throws Exception
  {
  {
    super.setUp();
    // Find  a free port for the replicationServer
@@ -1067,7 +1067,7 @@
    assertFalse(attrValues.hasNext());
    assertEquals(attrValue.toString(), attributeValue, "Was expecting attribute " +
      attributeName + "=" + attributeValue + " but got value: " + attrValue.toString());
  }
  /**
@@ -1128,7 +1128,7 @@
   * but have instead:
   *  [testng] parameter[0]: 6
   *  [testng] parameter[1]: [Ljava.lang.String;@151e824
   */
   */
  private void testInitWithFullUpdateExclude(int testProviderLineId,
    boolean importedDomainIsFractional, String... fractionalConf) throws Exception
  {
@@ -1451,7 +1451,7 @@
        "objectClass: person\n" + "objectClass: organizationalPerson\n" +
        "objectClass: inetOrgPerson\n" +
        "sn: snValue\n" + "cn: cnValue\n" + "uid: 1\n" + "entryUUID: " +
        ENTRY_UUID + "\n" + OPTIONAL_ATTR + ": " + OPTIONAL_ATTR + "Value\n";
        ENTRY_UUID + "\n" + OPTIONAL_ATTR + ": " + OPTIONAL_ATTR + "Value\n";
      //                Add attributes concerned by fractional configuration
      boolean first = true;
      for (String fracCfgValue : fractionalConf)
@@ -1477,7 +1477,7 @@
      // The domain should go back in normal status
      waitForDomainStatus(fractionalReplicationDomain,
        ServerStatus.NORMAL_STATUS, 5);
        ServerStatus.NORMAL_STATUS, 15);
      // check that entry has been created and that it does not contain
      // forbidden attributes