-
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 server-fips
- Loading branch information
Showing
930 changed files
with
45,468 additions
and
27,306 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 |
---|---|---|
|
@@ -37,3 +37,4 @@ bazel-testlogs | |
bazel-tidb | ||
.ijwb/ | ||
/oom_record/ | ||
*.log.json |
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 |
---|---|---|
|
@@ -199,9 +199,9 @@ else | |
endif | ||
|
||
enterprise-server: | ||
@make init-submodule | ||
@make enterprise-prepare | ||
@make enterprise-server-build | ||
$(MAKE) init-submodule | ||
$(MAKE) enterprise-prepare | ||
$(MAKE) enterprise-server-build | ||
|
||
server_check: | ||
ifeq ($(TARGET), "") | ||
|
@@ -275,7 +275,7 @@ tools/bin/gotestsum: | |
GOBIN=$(shell pwd)/tools/bin $(GO) install gotest.tools/[email protected] | ||
|
||
tools/bin/mockgen: | ||
GOBIN=$(shell pwd)/tools/bin $(GO) install go.uber.org/mock/mockgen@v0.2.0 | ||
GOBIN=$(shell pwd)/tools/bin $(GO) install go.uber.org/mock/mockgen@v0.3.0 | ||
|
||
# Usage: | ||
# | ||
|
@@ -576,6 +576,30 @@ bazel_addindextest: failpoint-enable bazel_ci_simple_prepare | |
-- //tests/realtikvtest/addindextest/... | ||
./build/jenkins_collect_coverage.sh | ||
|
||
bazel_addindextest1: failpoint-enable bazel_ci_simple_prepare | ||
bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) --test_arg=-with-real-tikv --define gotags=deadlock,intest \ | ||
--@io_bazel_rules_go//go/config:cover_format=go_cover \ | ||
-- //tests/realtikvtest/addindextest1/... | ||
./build/jenkins_collect_coverage.sh | ||
|
||
bazel_addindextest2: failpoint-enable bazel_ci_simple_prepare | ||
bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) --test_arg=-with-real-tikv --define gotags=deadlock,intest \ | ||
--@io_bazel_rules_go//go/config:cover_format=go_cover \ | ||
-- //tests/realtikvtest/addindextest2/... | ||
./build/jenkins_collect_coverage.sh | ||
|
||
bazel_addindextest3: failpoint-enable bazel_ci_simple_prepare | ||
bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) --test_arg=-with-real-tikv --define gotags=deadlock,intest \ | ||
--@io_bazel_rules_go//go/config:cover_format=go_cover \ | ||
-- //tests/realtikvtest/addindextest3/... | ||
./build/jenkins_collect_coverage.sh | ||
|
||
bazel_addindextest4: failpoint-enable bazel_ci_simple_prepare | ||
bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) --test_arg=-with-real-tikv --define gotags=deadlock,intest \ | ||
--@io_bazel_rules_go//go/config:cover_format=go_cover \ | ||
-- //tests/realtikvtest/addindextest4/... | ||
./build/jenkins_collect_coverage.sh | ||
|
||
# on timeout, bazel won't print log sometimes, so we use --test_output=all to print log always | ||
bazel_importintotest: failpoint-enable bazel_ci_simple_prepare | ||
bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ | ||
|
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
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
Oops, something went wrong.