[Fusionforge-commits] r11720 - branches/Branch_5_1/tests/func/Testing

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Dec 7 21:27:13 CET 2010


Author: aljeux
Date: 2010-12-07 21:27:13 +0100 (Tue, 07 Dec 2010)
New Revision: 11720

Modified:
   branches/Branch_5_1/tests/func/Testing/RPMSeleniumRemoteSuite.php
   branches/Branch_5_1/tests/func/Testing/TarSeleniumRemoteSuite.php
Log:
Stop crons during tests to avoid problematic concurency access to db reset

Modified: branches/Branch_5_1/tests/func/Testing/RPMSeleniumRemoteSuite.php
===================================================================
--- branches/Branch_5_1/tests/func/Testing/RPMSeleniumRemoteSuite.php	2010-12-07 19:52:50 UTC (rev 11719)
+++ branches/Branch_5_1/tests/func/Testing/RPMSeleniumRemoteSuite.php	2010-12-07 20:27:13 UTC (rev 11720)
@@ -31,6 +31,8 @@
 
 		// Install a fake sendmail to catch all outgoing emails.
 		system("ssh root@".HOST." 'perl -spi -e s#/usr/sbin/sendmail#/usr/share/tests/scripts/catch_mail.php# /etc/gforge/local.inc'");
+
+		system("ssh root@".HOST." 'service crond stop'");
 	}
 }
 ?>

Modified: branches/Branch_5_1/tests/func/Testing/TarSeleniumRemoteSuite.php
===================================================================
--- branches/Branch_5_1/tests/func/Testing/TarSeleniumRemoteSuite.php	2010-12-07 19:52:50 UTC (rev 11719)
+++ branches/Branch_5_1/tests/func/Testing/TarSeleniumRemoteSuite.php	2010-12-07 20:27:13 UTC (rev 11720)
@@ -27,6 +27,8 @@
 
 		// Install a fake sendmail to catch all outgoing emails.
 		system("ssh root@".HOST." 'perl -spi -e s#/usr/sbin/sendmail#/opt/tests/scripts/catch_mail.php# /etc/gforge/local.inc'");
+
+		system("ssh root@".HOST." 'service crond stop'");
 	}
 }
 ?>




More information about the Fusionforge-commits mailing list