Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix small bugs of ci #163

Merged
merged 2 commits into from
Sep 9, 2022
Merged
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
8 changes: 7 additions & 1 deletion ci_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ elif [[ $M == "testold" ]]; then
cargo test --features compat_old_proxy --package tests --test failpoints cases::test_import_service
cargo test --features compat_old_proxy --package tests --test failpoints cases::test_proxy_replica_read
elif [[ $M == "testnew" ]]; then
export ENGINE_LABEL_VALUE=tiflash
export RUST_BACKTRACE=full
# tests based on new-mock-engine-store, with compat for new proxy
cargo test --package tests --test proxy normal::store
cargo test --package tests --test proxy normal::region
Expand All @@ -33,5 +35,9 @@ elif [[ $M == "testnew" ]]; then
cargo test --package tests --test proxy proxy
elif [[ $M == "debug" ]]; then
# export RUSTC_WRAPPER=~/.cargo/bin/sccache
make debug
export ENGINE_LABEL_VALUE=tiflash
make debug
elif [[ $M == "release" ]]; then
export ENGINE_LABEL_VALUE=tiflash
make release
fi