DOKK / manpages / debian 10 / libdr-tarantool-perl / DR::Tarantool::StartTest.3pm.en
DR::Tarantool::StartTest(3pm) User Contributed Perl Documentation DR::Tarantool::StartTest(3pm)

DR::Tarantool::StartTest - finds and starts Tarantool on free port.

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

The module tries to find and then to start tarantool_box.

The module is used inside tests.

Constructor. Receives the following arguments:

path to tarantool.cfg

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.

Return true if Tarantool is found and started

Return Tarantool logs

Return Tarantool primary port

Return Tarantool admin port

Return PID

Kills Tarantool

Return true if child Tarantool process is dead.

DESTROY

Destructor. Kills tarantool, removes temporary files.

 Copyright (C) 2011 Dmitry E. Oboukhov <unera@debian.org>
 Copyright (C) 2011 Roman V. Nikolaev <rshadow@rambler.ru>
 This program is free software, you can redistribute it and/or
 modify it under the terms of the Artistic License.

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

2018-11-02 perl v5.28.0