-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cache-table-proposal
- Loading branch information
Showing
1,611 changed files
with
111,038 additions
and
57,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
startup --host_jvm_args=-Xmx8g | ||
startup --unlimit_coredumps | ||
|
||
run --color=yes | ||
build:release --workspace_status_command=./build/print-workspace-status.sh --stamp | ||
build:release --config=ci | ||
build --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution | ||
build:ci --remote_cache=http://172.16.4.3:8084/tidb | ||
test:ci --verbose_failures | ||
test:ci --test_timeout=180 | ||
test:ci --test_env=GO_TEST_WRAP_TESTV=1 | ||
test:ci --remote_cache=http://172.16.4.3:8084/tidb | ||
test:ci --test_env=TZ=Asia/Shanghai --test_output=errors --experimental_ui_max_stdouterr_bytes=104857600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Real TiKV Tests | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
realtikv-test: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
suite: | ||
- brietest | ||
- pessimistictest | ||
- sessiontest | ||
- statisticstest | ||
- txntest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
- name: Setup TiKV cluster | ||
run: | | ||
# Disable pipelined pessimistic lock temporarily until tikv#11649 is resolved | ||
echo -e "[pessimistic-txn]\npipelined = false\n" > tikv.toml | ||
echo -e "[raftdb]\nmax-open-files = 20480\n" >> tikv.toml | ||
echo -e "[rocksdb]\nmax-open-files = 20480\n" >> tikv.toml | ||
curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh | ||
$HOME/.tiup/bin/tiup playground nightly --mode tikv-slim --kv 3 --pd 3 --without-monitor --kv.config tikv.toml & | ||
curl --retry-connrefused --retry 5 --retry-delay 5 http://127.0.0.1:2379 | ||
- name: Run Tests | ||
run: | | ||
export log_level=error | ||
make failpoint-enable | ||
go test ./tests/realtikvtest/${{ matrix.suite }} -v -with-real-tikv -timeout 30m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
load("@bazel_gazelle//:def.bzl", "gazelle") | ||
|
||
# gazelle:proto disable_global | ||
# gazelle:prefix github.com/pingcap/tidb | ||
# gazelle:exclude tidb-binlog/proto/proto | ||
# gazelle:exclude plugin/conn_ip_example | ||
gazelle(name = "gazelle") | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
xcode_version( | ||
name = "xcode_version", | ||
version = "10.0", | ||
) | ||
|
||
filegroup( | ||
name = "package-srcs", | ||
srcs = glob( | ||
["**"], | ||
exclude = [ | ||
"bazel-*/**", | ||
".git/**", | ||
".idea/**", | ||
], | ||
), | ||
tags = ["automanaged"], | ||
visibility = ["//visibility:private"], | ||
) |
Oops, something went wrong.