From 2896571bf965821630385a3e19e7e291707de0c5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 20 Aug 2007 05:49:52 +0000
Subject: [PATCH] Disable the entry cache unit tests as they are causing the build to fail.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SoftReferenceEntryCacheTestCase.java |   26 ++++++------
 opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FIFOEntryCacheTestCase.java          |   28 +++++++-------
 opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FileSystemEntryCacheTestCase.java    |   36 +++++++++---------
 3 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FIFOEntryCacheTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FIFOEntryCacheTestCase.java
index 34bb91b..4b2acf3 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FIFOEntryCacheTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FIFOEntryCacheTestCase.java
@@ -137,7 +137,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testContainsEntry()
          throws Exception
@@ -150,7 +150,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry1()
          throws Exception
@@ -163,7 +163,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry2()
          throws Exception
@@ -176,7 +176,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry3()
          throws Exception
@@ -189,7 +189,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntryID()
          throws Exception
@@ -202,7 +202,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntry()
          throws Exception
@@ -215,7 +215,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntryIfAbsent()
          throws Exception
@@ -228,7 +228,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testRemoveEntry()
          throws Exception
@@ -241,7 +241,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClear()
          throws Exception
@@ -254,7 +254,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearBackend()
          throws Exception
@@ -267,7 +267,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearSubtree()
          throws Exception
@@ -280,7 +280,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testHandleLowMemory()
          throws Exception
@@ -315,7 +315,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test(groups="slow",
+  @Test(enabled=false, groups="slow",
         threadPoolSize = 10,
         invocationCount = 10,
         timeOut = 60000)
@@ -331,7 +331,7 @@
   /**
    * Tests cache rotation on specific number of entries.
    */
-  @Test()
+  @Test(enabled=false)
   public void testCacheRotation()
          throws Exception
   {
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FileSystemEntryCacheTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FileSystemEntryCacheTestCase.java
index 643ba3a..96cc93d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FileSystemEntryCacheTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/FileSystemEntryCacheTestCase.java
@@ -262,7 +262,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testContainsEntry()
          throws Exception
@@ -275,7 +275,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry1()
          throws Exception
@@ -288,7 +288,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry2()
          throws Exception
@@ -301,7 +301,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry3()
          throws Exception
@@ -314,7 +314,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntryID()
          throws Exception
@@ -327,7 +327,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntry()
          throws Exception
@@ -340,7 +340,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntryIfAbsent()
          throws Exception
@@ -353,7 +353,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testRemoveEntry()
          throws Exception
@@ -366,7 +366,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClear()
          throws Exception
@@ -379,7 +379,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearBackend()
          throws Exception
@@ -392,7 +392,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearSubtree()
          throws Exception
@@ -405,7 +405,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testHandleLowMemory()
          throws Exception
@@ -418,7 +418,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test(groups="slow",
+  @Test(enabled=false,groups="slow",
         threadPoolSize = 10,
         invocationCount = 10,
         // In case of disk based FS.
@@ -459,7 +459,7 @@
    *
    * @throws  Exception  If an unexpected problem occurs.
    */
-  @Test(groups = { "slow", "testLRUCacheConcurrency" },
+  @Test(enabled=false, groups = { "slow", "testLRUCacheConcurrency" },
         threadPoolSize = 10,
         invocationCount = 10,
         // In case of disk based FS.
@@ -475,7 +475,7 @@
   /**
    * Tests FIFO cache rotation on specific number of entries.
    */
-  @Test(groups = "slow")
+  @Test(enabled=false, groups = "slow")
   public void testCacheRotationFIFO()
          throws Exception
   {
@@ -517,7 +517,7 @@
   /**
    * Tests LRU cache rotation on specific number of entries.
    */
-  @Test(groups = "slow")
+  @Test(enabled=false, groups = "slow")
   @SuppressWarnings("unchecked")
   public void testCacheRotationLRU()
          throws Exception
@@ -575,7 +575,7 @@
   /**
    * Tests cache persistence with consistent backend.
    */
-  @Test(groups = "slow")
+  @Test(enabled=false, groups = "slow")
   @SuppressWarnings("unchecked")
   public void testCachePersistence()
          throws Exception
@@ -627,7 +627,7 @@
   /**
    * Tests cache persistence with inconsistent backend.
    */
-  @Test(groups = "slow")
+  @Test(enabled=false, groups = "slow")
   @SuppressWarnings("unchecked")
   public void testCachePersistenceInconsistent()
          throws Exception
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SoftReferenceEntryCacheTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SoftReferenceEntryCacheTestCase.java
index c071206..055721f 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SoftReferenceEntryCacheTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SoftReferenceEntryCacheTestCase.java
@@ -134,7 +134,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testContainsEntry()
          throws Exception
@@ -147,7 +147,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry1()
          throws Exception
@@ -160,7 +160,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry2()
          throws Exception
@@ -173,7 +173,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntry3()
          throws Exception
@@ -186,7 +186,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testGetEntryID()
          throws Exception
@@ -199,7 +199,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntry()
          throws Exception
@@ -212,7 +212,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testPutEntryIfAbsent()
          throws Exception
@@ -225,7 +225,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testRemoveEntry()
          throws Exception
@@ -238,7 +238,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClear()
          throws Exception
@@ -251,7 +251,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearBackend()
          throws Exception
@@ -264,7 +264,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testClearSubtree()
          throws Exception
@@ -277,7 +277,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test()
+  @Test(enabled=false)
   @Override
   public void testHandleLowMemory()
          throws Exception
@@ -290,7 +290,7 @@
   /**
    * {@inheritDoc}
    */
-  @Test(groups="slow",
+  @Test(enabled=false, groups="slow",
         threadPoolSize = 10,
         invocationCount = 10,
         timeOut = 60000)

--
Gitblit v1.10.0