Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
(wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Oct 31, 2018
1 parent 80000fa commit 2a67cc6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ start_services() {
sleep 1
done

# Tries to limit the max number of open files under the system limit
cat - > "$TEST_DIR/tikv-config.toml" <<EOF
[rocksdb]
max-open-files = 4096
[raftdb]
max-open-files = 4096
EOF

echo "Starting TiKV..."
bin/tikv-server \
--pd 127.0.0.1:2379 \
-A 127.0.0.1:20160 \
--log-file "$TEST_DIR/tikv.log" \
-C "$TEST_DIR/tikv-config.toml" \
-s "$TEST_DIR/tikv" &
sleep 1

Expand Down

0 comments on commit 2a67cc6

Please sign in to comment.