5_0/TestServer.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 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::5_0::TestServer;
2 $Search::Elasticsearch::Client::5_0::TestServer::VERSION = '6.80_1'; # TRIAL
3  
4 $Search::Elasticsearch::Client::5_0::TestServer::VERSION = '6.801';use strict;
5 use warnings;
6  
7 #===================================
8 sub command_line {
9 #===================================
10 my ( $class, $ts, $pid_file, $dir, $transport, $http ) = @_;
11  
12 return (
13 $ts->es_home . '/bin/elasticsearch',
14 '-p',
15 $pid_file->filename,
16 map {"-E$_"} (
17 'path.data=' . $dir,
18 'network.host=127.0.0.1',
19 'cluster.name=es_test',
20 'discovery.zen.ping_timeout=1s',
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__