Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if [ `uname` == "Darwin" ]; then
else
export build_dir="../../build"
fi
# export build_dir="../cmake-build-debug"

export storage_bin="$build_dir/dbms/src/Server/tiflash"

Expand Down Expand Up @@ -39,5 +40,5 @@ export verbose="false"
# export verbose="true"

# Setup running env vars
source ../../_vars.sh
setup_dylib_path
#source ../../_vars.sh
#setup_dylib_path
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why need this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a script located in tiflash repo rather than tics repo. This will make an error if we only checkout the tics repo and run the tests.
And I find that I can run the tests without these two lines.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

57 changes: 0 additions & 57 deletions tests/docker/cluster_clustered_index.yaml

This file was deleted.

1 change: 0 additions & 1 deletion tests/docker/config/tidb_new_collation.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# TiDB Configuration.

host = "0.0.0.0"
alter-primary-key = true
new_collations_enabled_on_first_bootstrap = true
9 changes: 7 additions & 2 deletions tests/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ fi


# Stop all docker instances if exist.
docker-compose -f gtest.yaml -f cluster.yaml -f cluster_new_collation.yaml -f cluster_clustered_index.yaml -f tiflash-dt.yaml -f mock-test-dt.yaml \
docker-compose \
-f gtest.yaml \
-f cluster.yaml \
-f cluster_new_collation.yaml \
-f tiflash-dt.yaml \
-f mock-test-dt.yaml \
-f cluster_tidb_fail_point.yaml \
down

Expand Down Expand Up @@ -93,7 +98,7 @@ rm -rf ./data ./log
# run fullstack-tests (for engine DeltaTree)
docker-compose -f cluster.yaml -f tiflash-dt.yaml up -d
wait_env dt
docker-compose -f cluster.yaml -f tiflash-dt.yaml exec -T tiflash0 bash -c 'cd /tests ; ./run-test.sh fullstack-test true && ./run-test.sh fullstack-test-dt && ./run-test.sh clustered_index_fullstack'
docker-compose -f cluster.yaml -f tiflash-dt.yaml exec -T tiflash0 bash -c 'cd /tests ; ./run-test.sh fullstack-test true && ./run-test.sh fullstack-test-dt'
docker-compose -f cluster.yaml -f tiflash-dt.yaml down
rm -rf ./data ./log

Expand Down