This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository 389-ds-base.
commit ccfc3c3d8156fbd25abaeabfb1e41579c62c1fe3
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Mon Feb 20 21:48:57 2017 -0500
Issue 48226 - Fix CI test
Description: valgrind is not disabled in the CI test
https://pagure.io/389-ds-base/issue/48226
Reviewed by: firstyear(Thanks!)
---
dirsrvtests/tests/tickets/ticket48226_test.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dirsrvtests/tests/tickets/ticket48226_test.py
b/dirsrvtests/tests/tickets/ticket48226_test.py
index 006623f..3ed58d2 100644
--- a/dirsrvtests/tests/tickets/ticket48226_test.py
+++ b/dirsrvtests/tests/tickets/ticket48226_test.py
@@ -106,6 +106,7 @@ def test_ticket48226_1(topology_m2):
if not topology_m2.ms["master2"].has_asan():
if valgrind_check_file(results_file, VALGRIND_LEAK_STR, 'csnset_dup'):
log.info('Valgrind reported leak in csnset_dup!')
+ valgrind_disable(sbin_dir)
assert False
else:
log.info('Valgrind is happy!')
@@ -113,6 +114,7 @@ def test_ticket48226_1(topology_m2):
# Check for invalid read/write
if valgrind_check_file(results_file, VALGRIND_INVALID_STR,
'csnset_dup'):
log.info('Valgrind reported invalid!')
+ valgrind_disable(sbin_dir)
assert False
else:
log.info('Valgrind is happy!')
@@ -120,10 +122,15 @@ def test_ticket48226_1(topology_m2):
# Check for invalid read/write
if valgrind_check_file(results_file, VALGRIND_INVALID_STR,
'csnset_free'):
log.info('Valgrind reported invalid!')
+ valgrind_disable(sbin_dir)
assert False
else:
log.info('Valgrind is happy!')
+ # Disable valgrind
+ if not topology_m2.ms["master2"].has_asan():
+ valgrind_disable(sbin_dir)
+
log.info('Testcase PASSED')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.