MT#55283 silence perl test warnings

Change-Id: Ib881bfc3311a0d1e19a2d95bca671a607b678f08
(cherry picked from commit e234e11c98)
(cherry picked from commit b583936956)
mr12.5.1
Richard Fuchs 4 months ago
parent 4cc111f9d7
commit 4c7878250a

@ -6,7 +6,7 @@ use NGCP::Rtpengine::Test;
use NGCP::Rtpclient::SRTP;
use NGCP::Rtpengine::AutoTest;
use Test::More;
use Test2::Tools::Compare qw(like);
use Test2::Tools::Compare qw();
use Socket qw(AF_INET SOCK_STREAM sockaddr_in pack_sockaddr_in inet_aton);
use JSON;
use Data::Dumper;
@ -76,7 +76,7 @@ $NGCP::Rtpengine::req_cb = sub {
alarm(0);
my $json = decode_json($buf);
#print Dumper($json);
like($json, $json_exp, "JSON");
Test2::Tools::Compare::like($json, $json_exp, "JSON");
redis_io("\r\n*3\r\n\$6\r\nEXPIRE\r\n\$" . length(cid()) . "\r\n" . cid() . "\r\n\$5\r\n86400\r\n",
"+OK\r\n+OK\r\n",
"req EXPIRE");

Loading…
Cancel
Save