From 53cd393455adb71134375bda908f2dd66f236ad8 Mon Sep 17 00:00:00 2001 From: mittalrishabh Date: Fri, 20 Dec 2024 14:16:05 -0800 Subject: [PATCH] Update region_request_state_test.go Signed-off-by: rishabh_mittal --- internal/locate/region_request_state_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/locate/region_request_state_test.go b/internal/locate/region_request_state_test.go index efc26cf53..96b5932f6 100644 --- a/internal/locate/region_request_state_test.go +++ b/internal/locate/region_request_state_test.go @@ -554,8 +554,6 @@ func testStaleRead(s *testRegionCacheStaleReadSuite, r *RegionCacheTestCase, zon _, successZone, successReadType := s.extractResp(resp) find := false if leaderZone { - funcName := runtime.FuncForPC(reflect.ValueOf(r.do).Pointer()).Name() - fmt.Printf("Function name of r.do(): %s\n", funcName) s.Equal(r.leaderSuccessReadType, successReadType, msg) for _, z := range r.leaderSuccessReplica { if z == successZone { @@ -564,8 +562,6 @@ func testStaleRead(s *testRegionCacheStaleReadSuite, r *RegionCacheTestCase, zon } } } else { - funcName := runtime.FuncForPC(reflect.ValueOf(r.do).Pointer()).Name() - fmt.Printf("Function name of r.do(): %s\n", funcName) s.Equal(r.followerSuccessReadType, successReadType) for _, z := range r.followerSuccessReplica { if z == successZone {