mirror of
https://github.com/fluencelabs/redis
synced 2025-04-11 03:36:05 +00:00
Now that SPOP can be called by scripts use BLPOP on 's' flag test.
This commit is contained in:
parent
2503acfc83
commit
231c9db1b5
@ -142,7 +142,7 @@ start_server {tags {"scripting"}} {
|
|||||||
|
|
||||||
test {EVAL - Scripts can't run certain commands} {
|
test {EVAL - Scripts can't run certain commands} {
|
||||||
set e {}
|
set e {}
|
||||||
catch {r eval {return redis.pcall('spop','x')} 0} e
|
catch {r eval {return redis.pcall('blpop','x',0)} 0} e
|
||||||
set e
|
set e
|
||||||
} {*not allowed*}
|
} {*not allowed*}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user