Package: golang-github-gomodule-redigo / 1:1.8.9-1

Metadata

Package Version Patches format
golang-github-gomodule-redigo 1:1.8.9-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Run the redis test server with enable debug command.patch | (download)

redis/test_test.go | 54 54 0 - 0 !
1 file changed, 54 insertions( )

 run the redis test server with enable-debug-command

This is required for Redis >= 7.x, cf.
https://raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES:

    * MODULE and DEBUG commands disabled (protected) by default, for
      better security (#9920)

Without this patch, some unit tests fail:

    === RUN   TestLatency
        reply_test.go:256:
       	    Error Trace:	/<<PKGBUILDDIR>>/_build/src/github.com/gomodule/redigo/redis/reply_test.go:256
            Error:      	Received unexpected error:
        	            	ERR DEBUG command not allowed. If the enable-debug-command option is set to "local", you can run it from a local connection, otherwise you need to set this option in the configuration file, and then restart the server.
            Test:       	TestLatency