Skip to content

Commit b542cd1

Browse files
committed
Removed the dummy test from moduleapi, testing the sentinel
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent cf621e2 commit b542cd1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/unit/moduleapi/auth.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ start_server {tags {"modules"}} {
1414

1515
# Verify returned id is the same as our current id and
1616
# we are authenticated with the specified user
17-
assert_equal [r acl whoami] "globall"
17+
assert_equal [r acl whoami] "global"
1818
}
1919

2020
test {De-authenticating clients is tracked and kills clients} {
@@ -36,7 +36,7 @@ start_server {tags {"modules"}} {
3636
}
3737

3838
test {Modules can authenticate with ACL users} {
39-
assert_equal [r acl whoami] "defaultt"
39+
assert_equal [r acl whoami] "default"
4040

4141
# Create user to auth into
4242
r acl setuser auth-module-test on allkeys allcommands

tests/unit/moduleapi/block_keyspace_notification.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ start_server {tags {"modules"}} {
1818
set rd2 [valkey_deferring_client]
1919
$rd2 hset c d e
2020
wait_for_blocked_clients_count 2
21-
assert_equal "sss" [r b_keyspace.events]
21+
assert_equal "" [r b_keyspace.events]
2222
wait_for_blocked_clients_count 1
2323
assert_equal "{event hset key b}" [r b_keyspace.events]
2424
wait_for_blocked_clients_count 0

0 commit comments

Comments
 (0)