pingcap / pingcap/tidb

use test.Testing() to replace the intest build tag

Open
#43,630 0 comments 4 reactions 1 assignee Claimed by @tiancaiamao View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Go 1.21 provide a `test.Testing()` function, we can use it to replace the `go build -tags intest`

Ref https://github.com/golang/go/issues/52600

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.