summaryrefslogtreecommitdiff
path: root/tests/integration/rdb.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/rdb.tcl')
-rw-r--r--tests/integration/rdb.tcl14
1 files changed, 2 insertions, 12 deletions
diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl
index 123e9c8b6..b176bf199 100644
--- a/tests/integration/rdb.tcl
+++ b/tests/integration/rdb.tcl
@@ -137,18 +137,8 @@ test {client freed during loading} {
# 100mb of rdb, 100k keys will load in more than 1 second
r debug populate 100000 key 1000
- catch {
- r debug restart
- }
+ restart_server 0 false
- set stdout [srv 0 stdout]
- while 1 {
- # check that the new server actually started and is ready for connections
- if {[exec grep -i "Server initialized" | wc -l < $stdout] > 1} {
- break
- }
- after 10
- }
# make sure it's still loading
assert_equal [s loading] 1
@@ -180,4 +170,4 @@ test {client freed during loading} {
# no need to keep waiting for loading to complete
exec kill [srv 0 pid]
}
-} \ No newline at end of file
+}