From d85a8bdd639ab04a704634a18090056e7d841cb7 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Thu, 4 Jan 2024 14:59:02 +0800 Subject: [PATCH] makefile: simplify code (#50054) --- Makefile.common | 3 +-- tests/realtikvtest/brietest/BUILD.bazel | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.common b/Makefile.common index a4bcde6481813..b540debd422e0 100644 --- a/Makefile.common +++ b/Makefile.common @@ -130,5 +130,4 @@ ifneq ("$(CI)", "") BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp BAZEL_SYNC_CONFIG := --repository_cache=/home/jenkins/.tidb/tmp endif -BAZEL_INSTRUMENTATION_FILTER_PACKAGE := go list ./...| sed 's/github.com\/pingcap\/tidb//g' -BAZEL_INSTRUMENTATION_FILTER := --instrument_test_targets --instrumentation_filter='${BAZEL_INSTRUMENTATION_FILTER_PACKAGE}' +BAZEL_INSTRUMENTATION_FILTER := --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/... diff --git a/tests/realtikvtest/brietest/BUILD.bazel b/tests/realtikvtest/brietest/BUILD.bazel index a2cadcef3823b..f2354eaa83a69 100644 --- a/tests/realtikvtest/brietest/BUILD.bazel +++ b/tests/realtikvtest/brietest/BUILD.bazel @@ -2,7 +2,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( name = "brietest_test", - timeout = "moderate", + timeout = "long", srcs = [ "backup_restore_test.go", "binlog_test.go",