integration: remove unused constants and fields (unused)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-09-12 23:47:49 +02:00
parent ad95c6315d
commit d948306255
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 2 additions and 5 deletions

View File

@ -385,7 +385,6 @@ func TestCreateWithCustomReadonlyPaths(t *testing.T) {
ctx := context.Background() ctx := context.Background()
testCases := []struct { testCases := []struct {
doc string
readonlyPaths []string readonlyPaths []string
expected []string expected []string
}{ }{

View File

@ -88,6 +88,6 @@ func TestRemoveImageGarbageCollector(t *testing.T) {
// Run imageService.Cleanup() and make sure that layer was removed from disk // Run imageService.Cleanup() and make sure that layer was removed from disk
i.Cleanup() i.Cleanup()
dir, err = os.Stat(data["UpperDir"]) _, err = os.Stat(data["UpperDir"])
assert.ErrorContains(t, err, "no such file or directory") assert.Assert(t, os.IsNotExist(err))
} }

View File

@ -17,8 +17,6 @@ func init() {
reexec.Init() // This is required for external graphdriver tests reexec.Init() // This is required for external graphdriver tests
} }
const dockerdBinary = "dockerd"
func TestMain(m *testing.M) { func TestMain(m *testing.M) {
var err error var err error
testEnv, err = environment.New() testEnv, err = environment.New()