From 3ae204728e698c2211fc5a56200339e6b34ffe07 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Tue, 22 Dec 2009 09:41:45 +0000
Subject: [PATCH] Try improve reliability of the results of this test

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

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java
index da567bc..889418b 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java
@@ -1056,6 +1056,7 @@
    */
   private void checkTopoView(int[] dsIdList, TopoView theoricalTopoView)
   {
+   sleep(500);
    for(int currentDsId : dsIdList)
    {
      LDAPReplicationDomain rd = null;
@@ -1115,7 +1116,7 @@
       * Compare to what is the expected view
       */
 
-     assertEquals(dsTopoView, theoricalTopoView);
+     assertEquals(dsTopoView, theoricalTopoView, " in DSid=" + currentDsId);
    }
   }
 

--
Gitblit v1.10.0