From cf4c4017316e785ee46f8400156909da919904ad 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
---
opendj-sdk/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/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java
index da567bc..889418b 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/TopologyViewTest.java
+++ b/opendj-sdk/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