From 5a71f4f9aaa7404126b128a52fe02af394a4cc6a Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 31 May 2010 13:02:21 +0000
Subject: [PATCH] Fix issue #2604 - Unit-tests should wait for TimeThread to increment before testing the modify timestamp attribute. This also fixes another unit-test which fails on Windows.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java
index 96294c1..12aa771 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDIFDiffTestCase.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2010 Sun Microsystems, Inc.
*/
package org.opends.server.tools;
@@ -614,7 +614,7 @@
"-O"
};
- if (ignoreAttributesFile.endsWith("/does-not-exist"))
+ if (ignoreAttributesFile.endsWith("does-not-exist"))
{
// We expect this to fail, so just make sure that it does.
assertEquals(LDIFDiff.mainDiff(args, true, System.out, System.err), 1);
@@ -701,7 +701,7 @@
"-O"
};
- if (ignoreEntriesFile.endsWith("/does-not-exist"))
+ if (ignoreEntriesFile.endsWith("does-not-exist"))
{
// We expect this to fail, so just make sure that it does.
assertEquals(LDIFDiff.mainDiff(args, true, System.out, System.err), 1);
--
Gitblit v1.10.0