Skip to content

Commit

Permalink
use dedicated db for load test to avoid loading other keys
Browse files Browse the repository at this point in the history
  • Loading branch information
msotheeswaran-sc committed Jun 28, 2023
1 parent 04cc2c0 commit 9281b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/moduleapi/load.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set testmodule [file normalize tests/modules/load.so]

if {$::flash_enabled} {
start_server [list tags [list "modules"] overrides [list storage-provider {flash ./rocks.db.master} databases 256 loadmodule $testmodule]] {
start_server [list tags [list "modules"] overrides [list storage-provider {flash ./rocks.db.master.load.test} databases 256 loadmodule $testmodule]] {
test "Module is notified of keys loaded from flash" {
r flushall
r set foo bar
Expand Down

0 comments on commit 9281b72

Please sign in to comment.