From c83f094d3adb1c1818ec9428778b309c08b6d49d Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 7 Jun 2020 00:44:11 -0400 Subject: [PATCH] fix race in test Former-commit-id: fa03a539f391e53bcd8237625dc0b52f3f25c9bd --- tests/unit/dump.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/dump.tcl b/tests/unit/dump.tcl index 062d803b5..aa0f6ee11 100644 --- a/tests/unit/dump.tcl +++ b/tests/unit/dump.tcl @@ -245,6 +245,7 @@ start_server {tags {"dump"}} { set rd [redis_deferring_client] $rd debug sleep 1.0 ; # Make second server unable to reply. + after 100 set e {} catch {r -1 migrate $second_host $second_port key 9 500} e assert_match {IOERR*} $e