Skip to content

Commit

Permalink
Merge branch 'master' into ginkgo-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
lpabon authored Jul 10, 2018
2 parents 44a5850 + 2116d74 commit d093b09
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/sanity/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func isNodeCapabilitySupported(c csi.NodeClient,
&csi.NodeGetCapabilitiesRequest{})
Expect(err).NotTo(HaveOccurred())
Expect(caps).NotTo(BeNil())
Expect(caps.GetCapabilities()).NotTo(BeNil())

for _, cap := range caps.GetCapabilities() {
Expect(cap.GetRpc()).NotTo(BeNil())
Expand Down Expand Up @@ -86,7 +85,6 @@ var _ = DescribeSanity("NodeGetCapabilities [Node Server]", func(sc *SanityConte
By("checking successful response")
Expect(err).NotTo(HaveOccurred())
Expect(caps).NotTo(BeNil())
Expect(caps.GetCapabilities()).NotTo(BeNil())

for _, cap := range caps.GetCapabilities() {
Expect(cap.GetRpc()).NotTo(BeNil())
Expand Down Expand Up @@ -332,7 +330,8 @@ func testFullWorkflowSuccess(sc *SanityContext, s csi.ControllerClient, c csi.No
Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER,
},
},
Readonly: false,
VolumeAttributes: vol.GetVolume().GetAttributes(),
Readonly: false,
}

if sc.Secrets != nil {
Expand All @@ -357,6 +356,7 @@ func testFullWorkflowSuccess(sc *SanityContext, s csi.ControllerClient, c csi.No
},
},
StagingTargetPath: sc.Config.StagingPath,
VolumeAttributes: vol.GetVolume().GetAttributes(),
}
if controllerPublishSupported {
nodeStageVolReq.PublishInfo = conpubvol.GetPublishInfo()
Expand All @@ -382,6 +382,7 @@ func testFullWorkflowSuccess(sc *SanityContext, s csi.ControllerClient, c csi.No
Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER,
},
},
VolumeAttributes: vol.GetVolume().GetAttributes(),
}
if nodeStageSupported {
nodepubvolRequest.StagingTargetPath = sc.Config.StagingPath
Expand Down

0 comments on commit d093b09

Please sign in to comment.