From f912fe883b2fd613b4115e29a2cf0c237a135b0c Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Wed, 12 Sep 2007 09:09:12 +0000
Subject: [PATCH] #793 / Ability to export replication backend

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
index a09b5e7..566dda4 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
@@ -855,8 +855,9 @@
         {
           fail("No log messages were written to the task entry on a failed task");
         }
-        else
-        {
+      }
+      if (logMessages.size() != 0)
+      {
           TRACER.debugInfo(logMessages.get(0));
           if (expectedMessage != null)
           {
@@ -864,7 +865,6 @@
             assertTrue(logMessages.get(0).indexOf(
                 expectedMessage.toString())>0);
           }
-        }
       }
 
       assertEquals(taskState, expectedTaskState, "Task State:" + taskState +

--
Gitblit v1.10.0