aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsolovboy <solovboy@yandex-team.com>2023-09-18 14:54:07 +0300
committersolovboy <solovboy@yandex-team.com>2023-09-18 15:15:25 +0300
commit1c59266f8a8b64b9c4f278e84fadd782c2498e1e (patch)
tree7481f077133be20e9b45ab6e652537425b3633a7
parent569b8817e698755a52092e144b699a06727946a5 (diff)
downloadydb-1c59266f8a8b64b9c4f278e84fadd782c2498e1e.tar.gz
linux/correction-sleep-
change sleep from 3 to 10
-rwxr-xr-xydb/deploy/local_binary/linux/start.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/deploy/local_binary/linux/start.sh b/ydb/deploy/local_binary/linux/start.sh
index 0080a40600..6b65f418a4 100755
--- a/ydb/deploy/local_binary/linux/start.sh
+++ b/ydb/deploy/local_binary/linux/start.sh
@@ -54,11 +54,11 @@ elif [[ $1 = "disk" ]]; then
else
cfg=ram.yaml
fi
-echo Starting storage process...
+echo Starting storage process... takes ~10 seconds
mkdir -p "$LOGS_PATH"
$YDBD_PATH server --yaml-config "$CONFIG_PATH/$cfg" --node 1 --grpc-port 2136 --ic-port 19001 --mon-port 8765 \
--log-file-name "$LOGS_PATH/storage_start.log" > "$LOGS_PATH/storage_start_output.log" 2>"$LOGS_PATH/storage_start_err.log" &
-sleep 3
+sleep 10
grep "$LOGS_PATH/storage_start_err.log" -v -f "$CONFIG_PATH/exclude_err.txt"
if [[ $? -eq 0 ]]; then
echo Errors found when starting storage process, cancelling start script