Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-33737

unit tests break in couchbase/gomemcached

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Go to the couchbase/gomemcached package and run "go test ./..." . You'll see the unit tests fail. They seem to have been failing for some time.

       

       ~/go-workspace/src/github.com/couchbase/gomemcached $ go test ./...
      --- FAIL: TestIsFatal (0.00s)
      	mc_res_test.go:204: Expected true for &errors.errorString{s:"something"} (1)
      	mc_res_test.go:204: Expected true for &gomemcached.MCResponse{Opcode:0x0, Status:0x0, Opaque:0x0, Cas:0x0, Extras:[]uint8(nil), Key:[]uint8(nil), Body:[]uint8(nil), Fatal:false, DataType:0x0} (2)
      	mc_res_test.go:204: Expected true for &gomemcached.MCResponse{Opcode:0x0, Status:0x4, Opaque:0x0, Cas:0x0, Extras:[]uint8(nil), Key:[]uint8(nil), Body:[]uint8(nil), Fatal:false, DataType:0x0} (4)
      FAIL
      FAIL	github.com/couchbase/gomemcached	0.049s
      ok  	github.com/couchbase/gomemcached/client	(cached)
      ?   	github.com/couchbase/gomemcached/client/example	[no test files]
      ?   	github.com/couchbase/gomemcached/client/mocks	[no test files]
      ?   	github.com/couchbase/gomemcached/client/upr_example	[no test files]
      ?   	github.com/couchbase/gomemcached/debug	[no test files]
      ?   	github.com/couchbase/gomemcached/gocache	[no test files]
      ok  	github.com/couchbase/gomemcached/server	(cached)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            yu Yu Sui (Inactive)
            johan.larson Johan Larson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty