Skip to content

Commit 5969572

Browse files
committed
fix storage test case
1 parent 2f47c17 commit 5969572

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cloud/services/compute/storage/reconcile_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,4 @@ var _ = Describe("generateVMStorageOptions", Label("unit", "storage"), func() {
7979
Expect(option.Path).To(Equal("/bar/buz"))
8080
})
8181
})
82-
83-
Context("both name and path are NOT specified", func() {
84-
It("option should have default name and path", func() {
85-
scope.SetName("foo-cluster")
86-
scope.SetStorage(infrav1.Storage{})
87-
option := storage.GenerateVMStorageOptions(scope)
88-
Expect(option.Storage).To(Equal("local-dir-foo-cluster"))
89-
Expect(option.Path).To(Equal("/var/lib/vz/local-dir-foo-cluster"))
90-
})
91-
})
9282
})

0 commit comments

Comments
 (0)