DR::Tarantool::StartTest - finds and starts Tarantool/Box 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 started
Return Tarantool/Box logs
Return Tarantool/Box primary port
Return Tarantool/Box admin port
Return PID
Kills Tarantool/Box
Return true if child Tarantool/Box process is dead.
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/unera/dr-tarantool/.
To install DR::Tarantool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DR::Tarantool
CPAN shell
perl -MCPAN -e shell install DR::Tarantool
For more information on module installation, please visit the detailed CPAN module installation guide.