From cd6ba27aa45d89cda29e1406e94107afdbb73759 Mon Sep 17 00:00:00 2001
From: tdj_tx <tdj_tx@localhost>
Date: Mon, 21 May 2007 03:26:33 +0000
Subject: [PATCH] Added a fix to the search size limit, needed to increase the limit to 10000 to allow the timelimit  tests to finish without error.

---
 opendj-sdk/opends/tests/functional-tests/testcases/core/core_search_timelimit.xml |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/core/core_search_timelimit.xml b/opendj-sdk/opends/tests/functional-tests/testcases/core/core_search_timelimit.xml
index 076f993..e234211 100644
--- a/opendj-sdk/opends/tests/functional-tests/testcases/core/core_search_timelimit.xml
+++ b/opendj-sdk/opends/tests/functional-tests/testcases/core/core_search_timelimit.xml
@@ -50,7 +50,26 @@
             file="'%s/testcases/core/core_setup.xml' % (TESTS_DIR)"/>
           <call function="'core_setup'"/>
 
-												    
+	  <!--- Set the server wide size limit 10000 to allow time limit tests to run properly-->
+            <sequence>
+              <message>
+                 'Set the server wide size limit 10000 to allow time limit tests to run properly'
+              </message>
+    
+              <call function="'addEntry'">
+                { 'dsInstanceHost'   : DIRECTORY_INSTANCE_HOST ,
+                  'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
+                  'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
+                  'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
+                  'entryToBeAdded'   : '%s/core/ldifs/mod_searchsizelimit2.ldif' % STAGED_DATA_DIR }
+              </call>
+    
+              <call function="'checktestRC'">
+                  { 'returncode' : RC ,
+                    'result'     : STAXResult }
+              </call>
+            </sequence>
+											    
           <!--- Test Case : Search Time Limit: Time Limit Exceeded -->
           <testcase name="'Core: Search Time Limit: Time Limit Exceeded'">
             <sequence>

--
Gitblit v1.10.0