Skip to content

Commit

Permalink
Redis test: two redundant tests removed as they tend to create issues…
Browse files Browse the repository at this point in the history
… when running the test with valgrind.
  • Loading branch information
antirez committed Dec 20, 2011
1 parent 8a62502 commit b760888
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/integration/aof.tcl
Expand Up @@ -31,11 +31,6 @@ tags {"aof"} {
}

start_server_aof [list dir $server_path] {
test "Unfinished MULTI: Server should not have been started" {
if {$::valgrind} {after 2000}
assert_equal 0 [is_alive $srv]
}

test "Unfinished MULTI: Server should have logged an error" {
set result [exec cat [dict get $srv stdout] | tail -n1]
assert_match "*Unexpected end of file reading the append only file*" $result
Expand All @@ -49,11 +44,6 @@ tags {"aof"} {
}

start_server_aof [list dir $server_path] {
test "Short read: Server should not have been started" {
if {$::valgrind} {after 2000}
assert_equal 0 [is_alive $srv]
}

test "Short read: Server should have logged an error" {
set result [exec cat [dict get $srv stdout] | tail -n1]
assert_match "*Bad file format reading the append only file*" $result
Expand Down

0 comments on commit b760888

Please sign in to comment.