From 9909b52ff204e205e1865f0aa3536fc528e81362 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 27 Jun 2007 20:07:14 +0000
Subject: [PATCH] Disabling the TestStaticUtils.testRenameFileLockedTarget test case because it is running (and failing) on non-Windows platforms.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java
index ee52012..b2da6b2 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestStaticUtils.java
@@ -297,7 +297,7 @@
/**
* Create test data for {@link StaticUtils#compare(byte[], byte[])}.
- *
+ *
* @return Returns an array of test data.
*/
@DataProvider(name = "compareBytesTestData")
@@ -326,7 +326,7 @@
/**
* Tests the {@link StaticUtils#compare(byte[], byte[])} method.
- *
+ *
* @param a
* The first byte array.
* @param a2
@@ -903,7 +903,7 @@
*
* @throws Exception If the test failed unexpectedly.
*/
- @Test(groups = {"windows"}, expectedExceptions = IOException.class)
+ @Test(enabled=false, groups={"windows"}, expectedExceptions=IOException.class)
public void testRenameFileLockedTarget() throws Exception {
File src = File.createTempFile("src", null);
File target = File.createTempFile("target", null);
--
Gitblit v1.10.0