diff --git a/pkg/sanity/node.go b/pkg/sanity/node.go index 64345c18..92215212 100644 --- a/pkg/sanity/node.go +++ b/pkg/sanity/node.go @@ -419,21 +419,6 @@ var _ = DescribeSanity("Node Service", func(sc *TestContext) { Expect(ok).To(BeTrue()) Expect(serverError.Code()).To(Equal(codes.InvalidArgument)) }) - - It("should fail when the volume is missing", func() { - - _, err := c.NodeUnpublishVolume( - context.Background(), - &csi.NodeUnpublishVolumeRequest{ - VolumeId: sc.Config.IDGen.GenerateUniqueValidVolumeID(), - TargetPath: sc.StagingPath, - }) - Expect(err).To(HaveOccurred(), "failed to unpublish volume from node") - - serverError, ok := status.FromError(err) - Expect(ok).To(BeTrue(), "error from NodeUnpublishVolume is not a gRPC error") - Expect(serverError.Code()).To(Equal(codes.NotFound), "unexpected error code") - }) }) Describe("NodeStageVolume", func() {