Skip to content

Commit 957b389

Browse files
committed
Fix tests
1 parent d868052 commit 957b389

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

infrastructure/devicepathresolver/nvme_instance_storage_resolver_test.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,22 @@ import (
99
. "github.com/onsi/gomega"
1010

1111
. "github.com/cloudfoundry/bosh-agent/v2/infrastructure/devicepathresolver"
12-
fakedpresolv "github.com/cloudfoundry/bosh-agent/v2/infrastructure/devicepathresolver/fakes"
1312
boshsettings "github.com/cloudfoundry/bosh-agent/v2/settings"
1413
)
1514

1615
var _ = Describe("AWSNVMeInstanceStorageResolver", func() {
1716
var (
18-
resolver InstanceStorageResolver
19-
fakeFS *fakesys.FakeFileSystem
20-
fakeDevicePathResolver *fakedpresolv.FakeDevicePathResolver
21-
logger boshlog.Logger
17+
resolver InstanceStorageResolver
18+
fakeFS *fakesys.FakeFileSystem
19+
logger boshlog.Logger
2220
)
2321
BeforeEach(func() {
2422
if runtime.GOOS != "linux" {
2523
Skip("Only supported on Linux")
2624
}
2725
fakeFS = fakesys.NewFakeFileSystem()
28-
fakeDevicePathResolver = fakedpresolv.NewFakeDevicePathResolver()
2926
logger = boshlog.NewLogger(boshlog.LevelNone)
30-
resolver = NewAWSNVMeInstanceStorageResolver(fakeFS, fakeDevicePathResolver, logger, "", "")
27+
resolver = NewAWSNVMeInstanceStorageResolver(fakeFS, logger, "", "")
3128
})
3229
Describe("DiscoverInstanceStorage", func() {
3330
Context("when devices are NVMe", func() {

0 commit comments

Comments
 (0)