From ce8dbdab53b26c754a65afbcda01d8bea330eef3 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Sat, 26 Jul 2025 23:51:50 +0800 Subject: [PATCH] *: use difference port to fix UT (#62624) close pingcap/tidb#62623 --- pkg/ddl/backfilling_dist_scheduler_test.go | 2 +- pkg/disttask/importinto/scheduler_testkit_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/ddl/backfilling_dist_scheduler_test.go b/pkg/ddl/backfilling_dist_scheduler_test.go index 9abd0b755d..c46f53a908 100644 --- a/pkg/ddl/backfilling_dist_scheduler_test.go +++ b/pkg/ddl/backfilling_dist_scheduler_test.go @@ -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/" diff --git a/pkg/disttask/importinto/scheduler_testkit_test.go b/pkg/disttask/importinto/scheduler_testkit_test.go index 88cf0b36ed..47225145e2 100644 --- a/pkg/disttask/importinto/scheduler_testkit_test.go +++ b/pkg/disttask/importinto/scheduler_testkit_test.go @@ -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,