diff --git a/tests/unit/other.tcl b/tests/unit/other.tcl index a35ac1752..16ed092be 100644 --- a/tests/unit/other.tcl +++ b/tests/unit/other.tcl @@ -55,7 +55,7 @@ start_server {tags {"other"}} { } {*index is out of range*} tags {consistency} { - if {![catch {package require sha1}]} { + if {true} { if {$::accurate} {set numops 10000} else {set numops 1000} test {Check consistency of different data types after a reload} { r flushdb diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl index 3aa3c0fba..c44ec74f5 100644 --- a/tests/unit/scripting.tcl +++ b/tests/unit/scripting.tcl @@ -468,6 +468,7 @@ start_server {tags {"scripting"}} { r slaveof no one set res } {102} + r config set aof-use-rdb-preamble yes test {EVAL timeout from AOF} { # generate a long running script that is propagated to the AOF as script @@ -505,8 +506,6 @@ start_server {tags {"scripting"}} { $rd close r get x } {y} - r config set aof-use-rdb-preamble yes - r config set lua-replicate-commands yes test {We can call scripts rewriting client->argv from Lua} { r del myset