venom icon indicating copy to clipboard operation
venom copied to clipboard

feat(executor/redis): Redis auth (ACL) support

Open bastienwirtz opened this issue 2 months ago • 0 comments

Hello,

Bump the redis client to the latest version to support ACL (introduced here) Btw, the garyburd/redigo/redis has moved to gomodule/redigo/redis. The old repo is unmaintained.

Behavior

Test

- name: Test commands
  steps:
    - type: redis
      dialURL: "redis://{{.user}}:{{.password}}@localhost:6379/0"
      commands:
        - SET foo bar
        - GET foo
        - KEYS *
      assertions:
        - result.commands.commands0.response ShouldEqual OK
        - result.commands.commands1.response ShouldEqual bar
        - result.commands.commands2.response.response0 ShouldEqual foo

Current result

 	• Test-commands
 		• redis FAIL
 		  Testcase "Test commands", step #0-0: WRONGPASS invalid username-password pair or user is disabled.
final status: FAIL

New result

 	• Test-commands
 		• redis PASS
final status: PASS

bastienwirtz avatar Apr 05 '24 09:04 bastienwirtz