Check that memcached is started before running SecureToken test
This commit is contained in:
parent
32126c4aca
commit
cb541e89d4
|
@ -11,6 +11,11 @@ SKIP: {
|
|||
if ($@) {
|
||||
skip 'Cache::Memcached not found', $maintests;
|
||||
}
|
||||
my $testmemd = new Cache::Memcached { 'servers' => ["127.0.0.1:11211"] };
|
||||
unless ( $testmemd->stats->{hosts} ) {
|
||||
skip 'Memcached not started', $maintests;
|
||||
}
|
||||
|
||||
eval { require Apache::Session::Generate::MD5; };
|
||||
if ($@) {
|
||||
skip 'Apache::Session::Generate::MD5 not found', $maintests;
|
||||
|
|
Loading…
Reference in New Issue