couchbase / go-couchbase

Couchbase client in Go
https://godoc.org/github.com/couchbase/go-couchbase
MIT License
321 stars 92 forks source link

not enough arguments in call to newConnectionPool #84

Open Charleslvn opened 6 years ago

Charleslvn commented 6 years ago

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