1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
Description: can't use these as these are not yet pacakged
Comment out these for now.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: no
Last-Update: 2025-10-19
---
--- a/lib/go/test/Makefile.am
+++ b/lib/go/test/Makefile.am
@@ -123,7 +123,6 @@ check: gopath
./gopath/src/duplicateimportstest \
./gopath/src/equalstest \
./gopath/src/conflictargnamestest \
- ./gopath/src/processormiddlewaretest \
./gopath/src/clientmiddlewareexceptiontest \
./gopath/src/validatetest \
./gopath/src/forwardtypetest
--- a/test/go/Makefile.am
+++ b/test/go/Makefile.am
@@ -58,7 +58,7 @@ check: gopath genmock
$(GO) test -v ./src/gen/...
genmock: gopath
- sh genmock.sh
+ echo sh genmock.sh
distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am
--- a/test/go/src/common/clientserver_test.go
+++ b/test/go/src/common/clientserver_test.go
@@ -21,15 +21,9 @@ package common
import (
"context"
- "errors"
- "fmt"
- "reflect"
"sync"
"testing"
- "github.com/golang/mock/gomock"
-
- "github.com/apache/thrift/lib/go/thrift"
"github.com/apache/thrift/test/go/src/gen/thrifttest"
)
@@ -62,6 +56,7 @@ func TestAllConnection(t *testing.T) {
}
func doUnit(t *testing.T, unit *test_unit) {
+/*
t.Run(fmt.Sprintf("%v", *unit), func(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()
@@ -87,6 +82,7 @@ func doUnit(t *testing.T, unit *test_uni
defer trans.Close()
callEverythingWithMock(t, client, handler)
})
+**/
}
var rmapmap = map[int32]map[int32]int32{
@@ -104,6 +100,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,
@@ -355,3 +352,4 @@ func callEverythingWithMock(t *testing.T
t.Errorf("Unexpected error in TestVoid() call: %s", err)
}
}
+**/
|