NAME
DR::Tarantool::StartTest - finds and starts tarantool on free port.
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
started
Returns true if tarantool is found and started
log
Returns tarantool logs
primary_port
Returns tarantool primary port
tarantool_pid
Returns PID
kill
Kills tarantool
is_dead
Returns true if child tarantool process is dead
DESTROY
Destructor. Kills tarantool, removes temporary files.
COPYRIGHT AND LICENSE
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.
VCS
The project is placed git repo on github: https://github.com/unera/dr-tarantool/.