Title: [opsview] [9633] Give time for server to startup
Revision
9633
Author
tvoon
Date
2012-07-27 01:12:06 +0100 (Fri, 27 Jul 2012)

Log Message

Give time for server to startup

Modified Paths


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2012-07-26 23:51:10 UTC (rev 9632)
+++ trunk/Makefile	2012-07-27 00:12:06 UTC (rev 9633)
@@ -258,6 +258,8 @@
 
 junit:
 	opsview-web/bin/opsview-web start
+	# Let opsview-web have a chance to startup before the tests start deleting the database
+	sleep 60
 	FULL_RUN=1 PERL5LIB=/usr/local/nagios/perl/lib perl -e 'use lib "/home/nagios/perl5/lib/perl5"; use TAP::Harness::JUnit; my $$h = TAP::Harness::JUnit->new( { xmlfile => "junitResults.xml", merge => 1 } ); $$h->runtests(@ARGV)' opsview-core/t/*.t opsview-web/t/*.t
 	opsview-web/bin/opsview-web stop
 	opsview-core/bin/rc.opsview stop

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to