![]() |
![]()
| ![]() |
![]()
NAMEDR::Tarantool::StartTest - finds and starts Tarantool on free port. SYNOPSISmy $t = run DR::Tarantool::StartTest ( cfg => $file_spaces_cfg ); DESCRIPTIONThe module tries to find and then to start tarantool_box. The module is used inside tests. METHODSrunConstructor. Receives the following arguments:
is_version(VERSION[, FAMILY])return true if tarantool_box is found and its version is more than VERSION. FAMILY can be:
startedReturn true if Tarantool is found and started logReturn Tarantool logs primary_portReturn Tarantool primary port admin_portReturn Tarantool admin port tarantool_pidReturn PID killKills Tarantool is_deadReturn true if child Tarantool process is dead. DESTROYDestructor. Kills tarantool, removes temporary files. COPYRIGHT AND LICENSECopyright (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. VCSThe project is placed git repo on github: <https://github.com/dr-co/dr-tarantool/>.
|