*: use difference port to fix UT (#62624)

close pingcap/tidb#62623
This commit is contained in:
Weizhen Wang
2025-07-26 23:51:50 +08:00
committed by GitHub
parent 58ea8d06ad
commit ce8dbdab53
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ func createAddIndexTask(t *testing.T,
useGlobalSort bool) (*proto.Task, *fakestorage.Server) {
var (
gcsHost = "127.0.0.1"
gcsPort = uint16(4443)
gcsPort = uint16(4447)
// for fake gcs server, we must use this endpoint format
// NOTE: must end with '/'
gcsEndpointFormat = "http://%s:%d/storage/v1/"

View File

@ -173,7 +173,7 @@ func TestSchedulerExtLocalSort(t *testing.T) {
func TestSchedulerExtGlobalSort(t *testing.T) {
host := "127.0.0.1"
port := uint16(4443)
port := uint16(4448)
opt := fakestorage.Options{
Scheme: "http",
Host: host,