MaatkitTest

Exporter
MaatkitTest

MaatkitTest is a collection of helper-subs for the Maatkit tests.  Any file arguments (like no_diff() $expected_output) are relative to PERCONA_TOOLKIT_BRANCH.  So passing “commont/t/samples/foo” means “PERCONA_TOOLKIT_BRANCH/common/t/samples/foo”.  Do not BAIL_OUT() because this terminates the entire test process; die instead.  All subs are exported by default, so is the variable $trunk, so there’s no need to import() in the test scripts.

Variables

%EXPORT_TAGS

our %EXPORT_TAGS

@EXPORT_OK

our @EXPORT_OK

@EXPORT

our @EXPORT

$trunk

our $trunk

$sandbox_version

our $sandbox_version

$dsn_opts

our $dsn_opts

Functions

output

sub output

load_data

sub load_data

load_file

sub load_file

parse_file

sub parse_file

wait_until

sub wait_until

wait_for

sub wait_for

_read

sub _read

test_log_parser

sub test_log_parser

test_protocol_parser

sub test_protocol_parser

test_packet_parser

sub test_packet_parser

no_diff

sub no_diff

throws_ok

sub throws_ok

remove_traces

sub remove_traces

test_bash_tool

sub test_bash_tool
our %EXPORT_TAGS
our @EXPORT_OK
our @EXPORT
our $trunk
our $sandbox_version
our $dsn_opts
sub output
sub load_data
sub load_file
sub parse_file
sub wait_until
sub wait_for
sub _read
sub test_log_parser
sub test_protocol_parser
sub test_packet_parser
sub no_diff
sub throws_ok
sub remove_traces
sub test_bash_tool
Close