[Catalyst-commits] r7086 - Catalyst-Runtime/5.70/trunk/t
andyg at dev.catalyst.perl.org
andyg at dev.catalyst.perl.org
Wed Oct 31 22:30:49 GMT 2007
Author: andyg
Date: 2007-10-31 22:30:49 +0000 (Wed, 31 Oct 2007)
New Revision: 7086
Modified:
Catalyst-Runtime/5.70/trunk/t/live_stats.t
Log:
Skip the live_stats test on remote servers
Modified: Catalyst-Runtime/5.70/trunk/t/live_stats.t
===================================================================
--- Catalyst-Runtime/5.70/trunk/t/live_stats.t 2007-10-31 22:21:46 UTC (rev 7085)
+++ Catalyst-Runtime/5.70/trunk/t/live_stats.t 2007-10-31 22:30:49 UTC (rev 7086)
@@ -6,9 +6,16 @@
use FindBin;
use lib "$FindBin::Bin/lib";
-use Test::More tests => 5;
+use Test::More;
use Catalyst::Test 'TestAppStats';
+if ( $ENV{CATALYST_SERVER} ) {
+ plan skip_all => 'Using remote server';
+}
+else {
+ plan tests => 5;
+}
+
{
ok( my $response = request('http://localhost/'), 'Request' );
ok( $response->is_success, 'Response Successful 2xx' );
More information about the Catalyst-commits
mailing list