GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DR::TARANTOOL::STARTTEST (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



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



DESCRIPTION

The module tries to find and then to start <B>tarantool_boxB>.

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:
<B>1B> (default) For tarantool < 1.6.
<B>2B> For tarantool >= 1.6.

    started

Return true if Tarantool is found and started

    log

Return Tarantool logs

    primary_port

Return Tarantool primary port

    admin_port

Return Tarantool admin port

    tarantool_pid

Return <B>PIDB>

    kill

Kills Tarantool

    is_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 <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/dr-co/dr-tarantool/>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DR::TARANTOOL::STARTTEST (3) 2014-10-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.