perl-redis icon indicating copy to clipboard operation
perl-redis copied to clipboard

t/04-pipeline.t failed with Redis 7.0.0

Open jplesnik opened this issue 3 years ago • 3 comments

The rebuild of perl-Redis in Fedora Rawhide is failing since Redis 7.0.0 is in repository

#   Failed test 'info in pipelined mode'
#   at t/04-pipeline.t line 52.
# Compared $data->[1][0]
#    got : HASH(0x57181aa4)
# expect : undef
# Looks like you failed 1 test of 11.
t/04-pipeline.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 

Changes in repository when the rebuild started failing https://koschei.fedoraproject.org/build/12764865

The log could be found on: https://koschei.fedoraproject.org/package/perl-Redis?

jplesnik avatar May 17 '22 06:05 jplesnik

Issue is in support of multiple arguments in info command in redis 7.0.0

Redis 6.2.7
127.0.0.1:6379> info Cluster CPU
ERR syntax error
Redis 7.0.0
127.0.0.1:6379> info cluster CPU
# CPU
used_cpu_sys:0.786104
used_cpu_user:0.265954
used_cpu_sys_children:0.000000
used_cpu_user_children:0.000000
used_cpu_sys_main_thread:0.785562
used_cpu_user_main_thread:0.266377

# Cluster
cluster_enabled:0

michal-josef-spacek avatar Jun 07 '22 21:06 michal-josef-spacek

From Changelog of Redis:

================================================================================
Redis 7.0 RC2   Released Mon Feb 28 12:00:00 IST 2022
================================================================================
...
* INFO command can take multiple section arguments (#6891)
...

michal-josef-spacek avatar Jun 07 '22 21:06 michal-josef-spacek

PR: https://github.com/PerlRedis/perl-redis/pull/156

michal-josef-spacek avatar Jun 07 '22 22:06 michal-josef-spacek