Skip to content

not enough arguments in call to newConnectionPool #84

@Charleslvn

Description

@Charleslvn

With:
go 1.9.4 x86_64

Hello,
I try to build and test your project and it fails with

Testing: "/builddir/build/BUILD/go-couchbase-a064ca416844fb169255a76fbdac7e80101b6049/_build/src/github.com/couchbase/go-couchbase"

  • GOPATH=/builddir/build/BUILD/go-couchbase-a064ca416844fb169255a76fbdac7e80101b6049/_build:/usr/share/gocode
  • go test -buildmode pie -compiler gc -ldflags '-extldflags '''-Wl,-z,relro ''''

github.com/couchbase/go-couchbase

./conn_pool_test.go:40:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:132:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:173:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:200:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:229:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:260:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:306:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:327:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:336:24: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:351:25: not enough arguments in call to newConnectionPool
have (string, *basicAuth, number, number)
want (string, AuthHandler, bool, int, int)
./conn_pool_test.go:351:25: too many errors
FAIL github.com/couchbase/go-couchbase [build failed]

Could you help me please ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions