From 0343fe9fa5a359c97ec2116f8ea2d79fd7bfd6d4 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 24 Jan 2022 23:01:08 +0200 Subject: [PATCH] re-fix EVAL timeout test (#10169) The edit i made to #10098 before merging was broken. (INFO is forbidden in LOADING) --- tests/integration/aof.tcl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration/aof.tcl b/tests/integration/aof.tcl index 28b3b0e5ee..cab1d37452 100644 --- a/tests/integration/aof.tcl +++ b/tests/integration/aof.tcl @@ -489,12 +489,11 @@ tags {"aof external:skip"} { $rd debug loadaof $rd flush wait_for_condition 100 10 { - [s loading] == 1 + [catch {r ping} e] == 1 } else { fail "server didn't start loading" } - catch {r ping} err - assert_match {LOADING*} $err + assert_error {LOADING*} {r ping} $rd read $rd close wait_for_log_messages 0 {"*Slow script detected*"} 0 100 100