mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Fix multi-provenance test to exercise the provenance kill path
The test was leaving c->user set to tempuser when ACL LOAD fired. Since tempuser is absent from the ACL file, the walk killed the client at the "current user doesn't exist" check — before reaching the provenance entry validation loop. Re-auth back to alice so the client survives the initial check and is killed for the correct reason: a provenance entry referencing a deleted user.
This commit is contained in:
parent
ab7823df14
commit
8d60449307
1 changed files with 2 additions and 0 deletions
|
|
@ -1192,6 +1192,8 @@ start_server [list overrides [list "dir" $server_path "acl-pubsub-default" "allc
|
|||
$rd1 read
|
||||
$rd1 SUBSCRIBE test2
|
||||
$rd1 read
|
||||
$rd1 AUTH alice alice
|
||||
$rd1 read
|
||||
$rd1 CLIENT SETNAME multi-prov
|
||||
$rd1 read
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue