github.com/lusis/distribution@v2.0.1+incompatible/registry/storage/driver/inmemory/driver_test.go (about) 1 package inmemory 2 3 import ( 4 "testing" 5 6 storagedriver "github.com/docker/distribution/registry/storage/driver" 7 "github.com/docker/distribution/registry/storage/driver/testsuites" 8 9 "gopkg.in/check.v1" 10 ) 11 12 // Hook up gocheck into the "go test" runner. 13 func Test(t *testing.T) { check.TestingT(t) } 14 15 func init() { 16 inmemoryDriverConstructor := func() (storagedriver.StorageDriver, error) { 17 return New(), nil 18 } 19 testsuites.RegisterInProcessSuite(inmemoryDriverConstructor, testsuites.NeverSkip) 20 21 // BUG(stevvooe): Disable flaky IPC tests for now when we can troubleshoot 22 // the problems with libchan. 23 // testsuites.RegisterIPCSuite(driverName, nil, testsuites.NeverSkip) 24 }