From 97bba68642120cdeffc78038b7555dbc943e0b9c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 15 Mar 2015 10:40:05 +0300 Subject: [PATCH] dbms: improved test [#METR-2944]. --- dbms/tests/queries/0_stateless/00058_global_in.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00058_global_in.sh b/dbms/tests/queries/0_stateless/00058_global_in.sh index 446ee30e32e..a651e6893d6 100755 --- a/dbms/tests/queries/0_stateless/00058_global_in.sh +++ b/dbms/tests/queries/0_stateless/00058_global_in.sh @@ -12,6 +12,7 @@ fi # Создадим директории для данных второго сервера. PATH2=/tmp/clickhouse/ +[ -d "$PATH2" ] && rm -rf $PATH2 mkdir -p ${PATH2}{data,metadata}/default/ # Создадим второй конфиг с портом 9001. @@ -47,6 +48,7 @@ PID=$! function finish { kill $PID + wait } trap finish EXIT @@ -104,5 +106,3 @@ $CLIENT1 -n --query=" $CLIENT2 -n --query=" DROP TABLE test.half1; DROP TABLE test.half2;" - -rm -rf $PATH2