SYNOPSIS
my $t = run DR::Tarantool::StartTest ( cfg => $file_spaces_cfg );
DESCRIPTION
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 startedlog
Return Tarantool logsprimary_port
Return Tarantool primary portadmin_port
Return Tarantool admin porttarantool_pid
Return PIDkill
Kills Tarantoolis_dead
Return true if child Tarantool process is dead.DESTROY
Destructor. Kills tarantool, removes temporary files.COPYRIGHT AND LICENSE
Copyright (C) 2011 Dmitry E. Oboukhov <[email protected]> Copyright (C) 2011 Roman V. Nikolaev <[email protected]> This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License.