From 883f050464892a6e7b883486c142d7d6797b0b0f Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Tue, 18 Dec 2007 08:14:55 +0000
Subject: [PATCH] fix dsconfig issue
---
opends/tests/functional-tests/testcases/logging/logging_rotation.xml | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/logging/logging_rotation.xml b/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
index 9e07bbe..f6a71b1 100755
--- a/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
+++ b/opends/tests/functional-tests/testcases/logging/logging_rotation.xml
@@ -97,7 +97,8 @@
'expectedRC' : 0
}
</call>
-
+
+
<call function="'dsconfigGet'">
{ 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
'dsInstancePort' : DIRECTORY_INSTANCE_PORT,
@@ -109,10 +110,7 @@
'attributeName' : 'rotation-policy'
}
</call>
-
- <call function="'Sleep'">
- { 'sleepForMilliSeconds' : 20000 }
- </call>
+
<!-- Starting loop -->
<script>
@@ -195,6 +193,7 @@
</script>
</sequence>
</iterate>
+
<!-- set nbLog when we find a log file -->
<script>
nbLog=1
@@ -222,7 +221,7 @@
'A log rotation has been done. The new rotation file is "%s" (size = %s) ' % (newlogName,newlogSize)
</message>
- <if expr="int(newlogSize) < 4100 and int(newlogSize) > 4000" >
+ <if expr="int(newlogSize) < 4100 and int(newlogSize) > 3900" >
<sequence>
<message>
'SUCCESS. The rotation based on size limit is successfull. The file "%s" (size = %s) ' % (newlogName,newlogSize)
--
Gitblit v1.10.0