File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ func (c *Clientset) ConfigureNodeLister(nodeName string) {
8686 nodeObj .Status = corev1.NodeStatus {}
8787 nodeObj .ObjectMeta .Annotations = nil
8888 nodeObj .ObjectMeta .Labels = newLabels
89+
8990 return obj , nil
9091 }
9192
Original file line number Diff line number Diff line change @@ -81,11 +81,13 @@ func (c *FakeClientset) CreateNode(isWorkloadIdentityEnabled bool) {
8181func (c * FakeClientset ) GetPod (namespace , name string ) (* corev1.Pod , error ) {
8282 c .fakePod .ObjectMeta .Name = name
8383 c .fakePod .ObjectMeta .Namespace = namespace
84+
8485 return c .fakePod , nil
8586}
8687
8788func (c * FakeClientset ) GetNode (name string ) (* corev1.Node , error ) {
8889 c .fakeNode .ObjectMeta .Name = name
90+
8991 return c .fakeNode , nil
9092}
9193
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ func TestNodePublishVolume(t *testing.T) {
193193}
194194
195195func TestNodePublishVolumeWIDisabledOnNode (t * testing.T ) {
196+ t .Parallel ()
196197 defaultPerm := os .FileMode (0o750 ) + os .ModeDir
197198 // Setup mount target path
198199 tmpDir := "/tmp/var/lib/kubelet/pods/test-pod-id/volumes/kubernetes.io~csi/"
You can’t perform that action at this time.
0 commit comments