From a9b31a7fd6f665f10673721758e5dedc025135c7 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 18 Jan 2007 02:00:47 +0000
Subject: [PATCH] Update the build script to temporarily allow up to 256MB of memory for the JVM used to run the unit tests.  Also, re-enable the JMX and search filter test cases that had been disabled.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
index 6a4870e..a0707a0 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -111,7 +111,7 @@
    * credentials are OK and refused when the credentials are invalid.
    *
    */
-  @Test(enabled = false, dataProvider="simpleConnect")
+  @Test(enabled = true, dataProvider="simpleConnect")
   public void simpleConnect(String user, String password,
       boolean expectedResult) throws Exception
   {
@@ -147,7 +147,7 @@
    * Test simple JMX get.
    *
    */
-  @Test(enabled = false, dataProvider="simpleGet")
+  @Test(enabled = true, dataProvider="simpleGet")
   public void simpleGet(String dn, String attributeName, Object value)
      throws Exception
   {
@@ -173,7 +173,7 @@
   /**
    * Test setting some config attribute through jmx.
    */
-  @Test(enabled = false)
+  @Test(enabled = true)
   public void simpleSet() throws Exception
   {
     OpendsJmxConnector connector = connect("cn=directory manager", "password",
@@ -208,7 +208,7 @@
    *
    * @throws Exception
    */
-  @Test(enabled = false)
+  @Test(enabled = true)
   public void disable() throws Exception
   {
     
@@ -277,7 +277,7 @@
    * Test changing JMX port through LDAP
    * @throws Exception
    */
-  @Test(enabled=false)
+  @Test(enabled=true)
   public void changePort() throws Exception
   {
     // Connect to the JMX service and get the current port
@@ -352,7 +352,7 @@
    * credentials are OK and refused when the credentials are invalid.
    *
    */
-  @Test(enabled=false)
+  @Test(enabled=true)
   public void sslConnect() throws Exception
   {
     // configure the JMX ssl key manager

--
Gitblit v1.10.0