From d225d2f72d8f112f32b553bda5ecf9897ea15917 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 21 Aug 2009 15:05:43 +0000
Subject: [PATCH] Increase a failure timeout in the fractional replication tests in the hope to solve random failure with testInitWithFullUpdateIncludeNightly test

---
 opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java
index d926b19..20c01a3 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/FractionalReplicationTest.java
+++ b/opendj-sdk/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

--
Gitblit v1.10.0