From f815a8217adef82186eda06a32a386c04a8e7769 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Thu, 12 Mar 2009 09:55:47 +0000
Subject: [PATCH] Fix random tests failed in logging and tasks testsuites + add knownIssue tag in snmp testsuite
---
opends/tests/staf-tests/shared/functions/snmp.xml | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/snmp.xml b/opends/tests/staf-tests/shared/functions/snmp.xml
index fad2232..38322e7 100755
--- a/opends/tests/staf-tests/shared/functions/snmp.xml
+++ b/opends/tests/staf-tests/shared/functions/snmp.xml
@@ -664,6 +664,12 @@
</function-arg-description>
<function-arg-property name="type" value="string"/>
</function-arg-def>
+ <function-arg-def name="knownIssue" type="optional" default="None">
+ <function-arg-description>
+ Known issue. Corresponds to an issue number.
+ </function-arg-description>
+ <function-arg-property name="type" value="string" />
+ </function-arg-def>
<function-arg-def name="expectedRC" type="optional" default="0">
<function-arg-description>
Expected return code value. Default value is 0
@@ -703,10 +709,12 @@
'result: %s' % result
</message>
- <call function="'checktestStringNotPresent'">
+ <call function="'searchString'">
{
- 'returnString' : result ,
- 'testString' : 'ERROR'
+ 'expectedString' : 'ERROR' ,
+ 'returnString' : result ,
+ 'knownIssue' : knownIssue ,
+ 'expectedRC' : 1
}
</call>
--
Gitblit v1.10.0