integration: remove unused constants and fields (unused)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ad95c6315d
commit
d948306255
|
@ -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
|
||||||
}{
|
}{
|
||||||
|
|
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue