From a5bcc275ee599581d5e1b0f3f46d35b80db06141 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 03 Aug 2009 09:29:27 +0000
Subject: [PATCH] Front port of 2.0 tests to the trunk

---
 opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml b/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
index b20db81..854807f 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
+++ b/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
@@ -169,7 +169,10 @@
         CurrentTestPath={}
         DSInfoServersDict={}
         True = 1
-        False = 0     
+        False = 0
+        # threshold set so that functions such as getFile may not cause staf
+        # process to run out of memory (value in bytes)
+        MAX_READABLE_SIZE = 104800
 
         # this function return a well-formatted testcase name
         def getTestCaseName(name):

--
Gitblit v1.10.0