"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/unit/introspection.tcl" between
redis-6.0.7.tar.gz and redis-6.0.8.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

introspection.tcl  (redis-6.0.7):introspection.tcl  (redis-6.0.8)
skipping to change at line 137 skipping to change at line 137
} }
dict for {k v} $configs { dict for {k v} $configs {
set vv [dict get $newconfigs $k] set vv [dict get $newconfigs $k]
if {$v != $vv} { if {$v != $vv} {
fail "config $k mismatch, expecting $v but got $vv" fail "config $k mismatch, expecting $v but got $vv"
} }
} }
} }
# Do a force-all config rewrite and make sure we're able to parse
# it.
test {CONFIG REWRITE sanity} {
# Capture state of config before
set configs {}
foreach {k v} [r config get *] {
dict set configs $k $v
}
# Rewrite entire configuration, restart and confirm the
# server is able to parse it and start.
assert_equal [r debug config-rewrite-force-all] "OK"
restart_server 0 0
assert_equal [r ping] "PONG"
# Verify no changes were introduced
dict for {k v} $configs {
assert_equal $v [lindex [r config get $k] 1]
}
}
# Config file at this point is at a wierd state, and includes all
# known keywords. Might be a good idea to avoid adding tests here.
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 24 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)