0_90/TestServer.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
command_line
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Search::Elasticsearch::Client::0_90::TestServer;
2 $Search::Elasticsearch::Client::0_90::TestServer::VERSION = '6.81';
3 use strict;
4 use warnings;
5  
6 #===================================
7 sub command_line {
8 #===================================
9 my ( $class, $ts, $pid_file, $dir, $transport, $http ) = @_;
10  
11 return (
12 $ts->es_home . '/bin/elasticsearch',
13 '-f', '-p',
14 $pid_file->filename,
15 map {"-Des.$_"} (
16 'path.data=' . $dir,
17 'network.host=127.0.0.1',
18 'cluster.name=es_test',
19 'discovery.zen.ping_timeout=1s',
20 'discovery.zen.ping.multicast.enabled=false',
21 'discovery.zen.ping.unicast.hosts=127.0.0.1:' . $ts->es_port,
22 'transport.tcp.port=' . $transport,
23 'http.port=' . $http,
24 @{ $ts->conf }
25 )
26 );
27 }
28  
29 1
30  
31 # ABSTRACT: Client-specific backend for Search::Elasticsearch::TestServer
32  
33 __END__