Skip to content

Commit 141deaa

Browse files
authored
Merge pull request #570 from ebblake/create-from-snapashot
Fix Create from snapshot test
2 parents b0702af + a52b909 commit 141deaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/sanity/controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,9 @@ var _ = DescribeSanity("Controller Service [Controller Server]", func(sc *TestCo
494494
},
495495
}
496496
vol, err := r.CreateVolume(context.Background(), vol2Req)
497-
Expect(vol.GetVolume().ContentSource).NotTo(BeNil())
498497
Expect(err).NotTo(HaveOccurred())
498+
Expect(vol).NotTo(BeNil())
499+
Expect(vol.GetVolume().ContentSource).NotTo(BeNil())
499500
})
500501

501502
It("should fail when the volume source snapshot is not found", func() {

0 commit comments

Comments
 (0)