From d0692da27122c0e6441336d2fbadae23c0b5c85e Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 31 Jul 2007 19:59:16 +0000
Subject: [PATCH] disabled quicksetup tests that stop/start server as they are causing memory use problems with the test machines

---
 opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java
index 0756c0f..c2abefb 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/util/FileManagerTest.java
@@ -81,7 +81,7 @@
    * Tests synchronized.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testSynchronize() throws Exception {
     File s = new File(fmWorkspace, "s");
     File t = new File(fmWorkspace, "t");
@@ -157,7 +157,7 @@
    *
    * @throws Exception If the test failed unexpectedly.
    */
-  @Test
+  @Test(enabled = false)
   public void testRenameFileExistentTarget() throws Exception {
     File src = File.createTempFile("src", null);
     File target = File.createTempFile("target", null);
@@ -178,7 +178,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);
@@ -197,7 +197,7 @@
    * Tests basic move.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testMove() throws Exception {
 
     File fromDir = new File(fmWorkspace, "from");
@@ -218,7 +218,7 @@
    * Tests basic move with filtering.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testMove2() throws Exception {
     File fromDir = new File(fmWorkspace, "from");
     fromDir.mkdir();
@@ -244,7 +244,7 @@
    * Tests basic delete.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testDelete() throws Exception {
     File dir = new File(fmWorkspace, "dir");
     dir.mkdir();
@@ -263,7 +263,7 @@
    * Tests basic delete with filtering.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testDelete2() throws Exception {
 
     // Create a filter that should reject the operation
@@ -290,7 +290,7 @@
    * Test recursive delete.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testDeleteRecursively() throws Exception {
     File dir = new File(fmWorkspace, "dir");
     createSourceFiles(dir, "abc");
@@ -303,7 +303,7 @@
    * Test recursive delete with filtering.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testDeleteRecursively1() throws Exception {
     File dir = new File(fmWorkspace, "dir");
     createSourceFiles(dir, "abc");
@@ -344,7 +344,7 @@
    * Test basic copy.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testCopy() throws Exception {
     File file = new File(fmWorkspace, "file");
     writeContents(file, "abc");
@@ -360,7 +360,7 @@
    * Make sure things fail if target is a file and not a directory.
    * @throws Exception if something unexpected
    */
-  @Test(expectedExceptions = ApplicationException.class)
+  @Test(enabled = false, expectedExceptions = ApplicationException.class)
   public void testCopy1() throws Exception {
     File file = new File(fmWorkspace, "file");
     writeContents(file, "abc");
@@ -373,7 +373,7 @@
    * Make sure things fail if target is a file and not a directory.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testCopy2() throws Exception {
     File file = new File(fmWorkspace, "file");
     String NEW_CHILD_CONTENT = "new";
@@ -399,7 +399,7 @@
    * Test copy recursively.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testCopyRecursively() throws Exception {
     File source = new File(fmWorkspace, "source");
     createSourceFiles(source, "abc");
@@ -417,7 +417,7 @@
    * Tests copy recursively with filtering.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testCopyRecursively1() throws Exception {
     // Test that a filter can stop a delete altogether
     FileFilter rejectOpFilter = new FileFilter() {
@@ -463,7 +463,7 @@
    * Tests copy recursively with filtering and overwrite.
    * @throws Exception if something unexpected
    */
-  @Test
+  @Test(enabled = false)
   public void testCopyRecursively2() throws Exception {
     File source = new File(fmWorkspace, "source");
     String FILES_TO_COPY = "to copy";

--
Gitblit v1.10.0