From c9a98563ba0c8ccc4286e3f67bb5343f9dd0387f Mon Sep 17 00:00:00 2001 From: "Laszlo Boszormenyi (GCS)" Date: Sun, 17 Sep 2023 14:13:50 +0100 Subject: [PATCH] can't use these Forwarded: no Last-Update: 2023-07-02 Gbp-Pq: Name missing_go_test.patch --- test/go/src/common/clientserver_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/go/src/common/clientserver_test.go b/test/go/src/common/clientserver_test.go index a39519d..0580ed4 100644 --- a/test/go/src/common/clientserver_test.go +++ b/test/go/src/common/clientserver_test.go @@ -21,14 +21,10 @@ package common import ( "context" - "errors" - "reflect" "sync" "testing" - "github.com/golang/mock/gomock" - "github.com/apache/thrift/lib/go/thrift" "github.com/apache/thrift/test/go/src/gen/thrifttest" ) @@ -61,6 +57,7 @@ func TestAllConnection(t *testing.T) { } func doUnit(t *testing.T, unit *test_unit) { +/* ctrl := gomock.NewController(t) defer ctrl.Finish() handler := NewMockThriftTest(ctrl) @@ -84,6 +81,7 @@ func doUnit(t *testing.T, unit *test_unit) { } defer trans.Close() callEverythingWithMock(t, client, handler) +*/ } var rmapmap = map[int32]map[int32]int32{ @@ -101,6 +99,7 @@ var xxs = &thrifttest.Xtruct{ var xcept = &thrifttest.Xception{ErrorCode: 1001, Message: "some"} var defaultCtx = context.Background() +/* func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, handler *MockThriftTest) { u := thrift.Tuuid{ 0x00, 0x11, 0x22, 0x33, @@ -352,3 +351,4 @@ func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, h t.Errorf("Unexpected error in TestVoid() call: %s", err) } } +*/ -- 2.30.2