DR::Tarantool::StartTest(3pm)

DR::Tarantool::StartTest3pm

Finds and starts tarantool on free port.

Usage

 my $t = run DR::Tarantool::StartTest ( cfg => $file_spaces_cfg );

Overview

The module tries to find and then to start tarantool_box.

The module is used inside tests.

Methods

run

Constructor. Receives the following arguments:

cfg

path to tarantool.cfg

is_version(VERSION[, FAMILY])

return true if tarantool_box is found and its version is more than VERSION.

FAMILY can be:

1 (default)

For tarantool < 1.6.

2

For tarantool >= 1.6.

started

Return true if Tarantool is found and started

log

Return Tarantool logs

primary_port

Return Tarantool primary port

admin_port

Return Tarantool admin port

tarantool_pid

Return PID

kill

Kills Tarantool

is_dead

Return true if child Tarantool process is dead.

Destroy

Destructor. Kills tarantool, removes temporary files.

VCS

The project is placed git repo on github: <https://github.com/dr-co/dr-tarantool/>.

Releases

4 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9
  4. 10

From libdr-tarantool-perl 0.45-2+b2 in Debian 10 (Buster). Parsed by carta from the page's man source.