mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-24 02:01:42 +08:00
PT-96 Fixed tests for SimpleTCPDumpParser
This commit is contained in:
@@ -406,6 +406,9 @@ sub test_log_parser {
|
||||
close $fh;
|
||||
};
|
||||
|
||||
# sort the array just to make this testeable.
|
||||
@e = sort { $a->{pos_in_log} <=> $b->{pos_in_log} } @e;
|
||||
|
||||
my ($base_file_name) = $args{file} =~ m/([^\/]+)$/;
|
||||
is(
|
||||
$EVAL_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user