[rhmessaging-commits] rhmessaging commits: r1715 - store/trunk/cpp/tests.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Feb 20 13:05:56 EST 2008
Author: kpvdr
Date: 2008-02-20 13:05:56 -0500 (Wed, 20 Feb 2008)
New Revision: 1715
Modified:
store/trunk/cpp/tests/persistence.py
store/trunk/cpp/tests/system_test.sh
Log:
Fixed failure of python persistence test. Also fixed the silent failure of the python script - so if the test fails again, cruisecontrol will notice.
Modified: store/trunk/cpp/tests/persistence.py
===================================================================
--- store/trunk/cpp/tests/persistence.py 2008-02-20 17:27:36 UTC (rev 1714)
+++ store/trunk/cpp/tests/persistence.py 2008-02-20 18:05:56 UTC (rev 1715)
@@ -346,9 +346,11 @@
try:
getattr(self, phase)()
print phase, "succeeded"
+ res = True;
except Exception, e:
print phase, "failed: ", e
traceback.print_exc()
+ res = False
self.channel.session_close()
@@ -358,7 +360,7 @@
import time
time.sleep(1)
- return True
+ return res
def setBroker(self, broker):
Modified: store/trunk/cpp/tests/system_test.sh
===================================================================
--- store/trunk/cpp/tests/system_test.sh 2008-02-20 17:27:36 UTC (rev 1714)
+++ store/trunk/cpp/tests/system_test.sh 2008-02-20 18:05:56 UTC (rev 1715)
@@ -64,7 +64,7 @@
while ((sync <= 1)); do
echo
if ((sync == 1)); then
- JRNLFLAGS="--store-directory ${WORKING_DIR} --store-force yes"
+ JRNLFLAGS="--store-directory ${WORKING_DIR} --store-async yes --store-force yes"
mode='jrnl'
echo 'Journal (AIO) persistence...'
else
More information about the rhmessaging-commits
mailing list