2014-10-21 22:02:20 +00:00
|
|
|
package inmemory
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2014-12-24 00:01:38 +00:00
|
|
|
"github.com/docker/distribution/storagedriver"
|
|
|
|
"github.com/docker/distribution/storagedriver/testsuites"
|
2014-11-17 23:44:07 +00:00
|
|
|
|
|
|
|
"gopkg.in/check.v1"
|
2014-10-21 22:02:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Hook up gocheck into the "go test" runner.
|
2014-11-17 23:44:07 +00:00
|
|
|
func Test(t *testing.T) { check.TestingT(t) }
|
2014-10-21 22:02:20 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
inmemoryDriverConstructor := func() (storagedriver.StorageDriver, error) {
|
2014-10-29 01:15:40 +00:00
|
|
|
return New(), nil
|
2014-10-21 22:02:20 +00:00
|
|
|
}
|
2014-10-27 20:24:07 +00:00
|
|
|
testsuites.RegisterInProcessSuite(inmemoryDriverConstructor, testsuites.NeverSkip)
|
2014-12-05 04:14:41 +00:00
|
|
|
|
|
|
|
// BUG(stevvooe): Disable flaky IPC tests for now when we can troubleshoot
|
|
|
|
// the problems with libchan.
|
|
|
|
// testsuites.RegisterIPCSuite(driverName, nil, testsuites.NeverSkip)
|
2014-10-21 22:02:20 +00:00
|
|
|
}
|