From 44b059c6811535b82711c44179fb6a1d7ed316df Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 28 Nov 2020 08:27:59 +0300 Subject: [PATCH] Fix bad test 01317_no_password_in_command_line.sh --- .../0_stateless/01317_no_password_in_command_line.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/queries/0_stateless/01317_no_password_in_command_line.sh b/tests/queries/0_stateless/01317_no_password_in_command_line.sh index db86613b197..0f6d8117307 100755 --- a/tests/queries/0_stateless/01317_no_password_in_command_line.sh +++ b/tests/queries/0_stateless/01317_no_password_in_command_line.sh @@ -24,7 +24,8 @@ do if ! kill -0 -- $bg_query then - >&2 echo "The SELECT sleep(1) query finished earlier that we could grep for it in the process list, but it should have run for at least one second. Looks like a bug" + # The SELECT sleep(1) query finished earlier that we could grep for it in the process list, but it should have run for at least one second. It is Ok. + break fi done @@ -47,7 +48,8 @@ do if ! kill -0 -- $bg_query then - >&2 echo "The SELECT sleep(1) query finished earlier that we could grep for it in the process list, but it should have run for at least one second. Looks like a bug" + # The SELECT sleep(1) query finished earlier that we could grep for it in the process list, but it should have run for at least one second. It is Ok. + break fi done