Skip to content

Commit 9aa6375

Browse files
committed
Small test change for release-1.13 CI problems
1 parent a97b586 commit 9aa6375

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/cloud_provider/clientset/clientset.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

pkg/cloud_provider/clientset/fake.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,13 @@ func (c *FakeClientset) CreateNode(isWorkloadIdentityEnabled bool) {
8181
func (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

8788
func (c *FakeClientset) GetNode(name string) (*corev1.Node, error) {
8889
c.fakeNode.ObjectMeta.Name = name
90+
8991
return c.fakeNode, nil
9092
}
9193

pkg/csi_driver/node_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ func TestNodePublishVolume(t *testing.T) {
193193
}
194194

195195
func 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/"

0 commit comments

Comments
 (0)