Skip to content

Commit 6b4cdf0

Browse files
Added multithreaded unit tests for the node pod workflows
1 parent 2476631 commit 6b4cdf0

File tree

2 files changed

+3132
-78
lines changed

2 files changed

+3132
-78
lines changed

frontend/csi/node_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ const (
5555
defaultNodeReconciliationPeriod = 1 * time.Minute
5656
maximumNodeReconciliationJitter = 5000 * time.Millisecond
5757
nvmeMaxFlushWaitDuration = 6 * time.Minute
58-
csiNodeLockTimeout = 60 * time.Second
5958
fsUnavailableTimeout = 5 * time.Second
6059

6160
// Node Scalability constants.
@@ -77,6 +76,7 @@ const (
7776
)
7877

7978
var (
79+
csiNodeLockTimeout = 60 * time.Second
8080
// TODO (pshashan): Unify both csiNodeLockTimeout and csiKubeletTimeout
8181
csiKubeletTimeout = 110 * time.Second
8282
topologyLabels = make(map[string]string)

0 commit comments

Comments
 (0)