@@ -46,8 +46,7 @@ import (
46
46
const (
47
47
// reconcilerLoopSleepDuration is the amount of time the reconciler loop
48
48
// waits between successive executions
49
- reconcilerLoopSleepDuration time.Duration = 1 * time .Nanosecond
50
- reconcilerSyncStatesSleepPeriod time.Duration = 10 * time .Minute
49
+ reconcilerLoopSleepDuration time.Duration = 1 * time .Nanosecond
51
50
// waitForAttachTimeout is the maximum amount of time a
52
51
// operationexecutor.Mount call will wait for a volume to be attached.
53
52
waitForAttachTimeout time.Duration = 1 * time .Second
@@ -78,7 +77,6 @@ func Test_Run_Positive_DoNothing(t *testing.T) {
78
77
kubeClient ,
79
78
false , /* controllerAttachDetachEnabled */
80
79
reconcilerLoopSleepDuration ,
81
- reconcilerSyncStatesSleepPeriod ,
82
80
waitForAttachTimeout ,
83
81
nodeName ,
84
82
dsw ,
@@ -122,7 +120,6 @@ func Test_Run_Positive_VolumeAttachAndMount(t *testing.T) {
122
120
kubeClient ,
123
121
false , /* controllerAttachDetachEnabled */
124
122
reconcilerLoopSleepDuration ,
125
- reconcilerSyncStatesSleepPeriod ,
126
123
waitForAttachTimeout ,
127
124
nodeName ,
128
125
dsw ,
@@ -200,7 +197,6 @@ func Test_Run_Positive_VolumeMountControllerAttachEnabled(t *testing.T) {
200
197
kubeClient ,
201
198
true , /* controllerAttachDetachEnabled */
202
199
reconcilerLoopSleepDuration ,
203
- reconcilerSyncStatesSleepPeriod ,
204
200
waitForAttachTimeout ,
205
201
nodeName ,
206
202
dsw ,
@@ -279,7 +275,6 @@ func Test_Run_Positive_VolumeAttachMountUnmountDetach(t *testing.T) {
279
275
kubeClient ,
280
276
false , /* controllerAttachDetachEnabled */
281
277
reconcilerLoopSleepDuration ,
282
- reconcilerSyncStatesSleepPeriod ,
283
278
waitForAttachTimeout ,
284
279
nodeName ,
285
280
dsw ,
@@ -369,7 +364,6 @@ func Test_Run_Positive_VolumeUnmountControllerAttachEnabled(t *testing.T) {
369
364
kubeClient ,
370
365
true , /* controllerAttachDetachEnabled */
371
366
reconcilerLoopSleepDuration ,
372
- reconcilerSyncStatesSleepPeriod ,
373
367
waitForAttachTimeout ,
374
368
nodeName ,
375
369
dsw ,
@@ -460,7 +454,6 @@ func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
460
454
kubeClient ,
461
455
false , /* controllerAttachDetachEnabled */
462
456
reconcilerLoopSleepDuration ,
463
- reconcilerSyncStatesSleepPeriod ,
464
457
waitForAttachTimeout ,
465
458
nodeName ,
466
459
dsw ,
@@ -545,7 +538,6 @@ func Test_Run_Positive_BlockVolumeMapControllerAttachEnabled(t *testing.T) {
545
538
kubeClient ,
546
539
true , /* controllerAttachDetachEnabled */
547
540
reconcilerLoopSleepDuration ,
548
- reconcilerSyncStatesSleepPeriod ,
549
541
waitForAttachTimeout ,
550
542
nodeName ,
551
543
dsw ,
@@ -631,7 +623,6 @@ func Test_Run_Positive_BlockVolumeAttachMapUnmapDetach(t *testing.T) {
631
623
kubeClient ,
632
624
false , /* controllerAttachDetachEnabled */
633
625
reconcilerLoopSleepDuration ,
634
- reconcilerSyncStatesSleepPeriod ,
635
626
waitForAttachTimeout ,
636
627
nodeName ,
637
628
dsw ,
@@ -727,7 +718,6 @@ func Test_Run_Positive_VolumeUnmapControllerAttachEnabled(t *testing.T) {
727
718
kubeClient ,
728
719
true , /* controllerAttachDetachEnabled */
729
720
reconcilerLoopSleepDuration ,
730
- reconcilerSyncStatesSleepPeriod ,
731
721
waitForAttachTimeout ,
732
722
nodeName ,
733
723
dsw ,
@@ -1007,7 +997,6 @@ func Test_Run_Positive_VolumeFSResizeControllerAttachEnabled(t *testing.T) {
1007
997
kubeClient ,
1008
998
true , /* controllerAttachDetachEnabled */
1009
999
reconcilerLoopSleepDuration ,
1010
- reconcilerSyncStatesSleepPeriod ,
1011
1000
waitForAttachTimeout ,
1012
1001
nodeName ,
1013
1002
dsw ,
@@ -1185,7 +1174,6 @@ func Test_Run_Positive_VolumeMountControllerAttachEnabledRace(t *testing.T) {
1185
1174
kubeClient ,
1186
1175
true , /* controllerAttachDetachEnabled */
1187
1176
reconcilerLoopSleepDuration ,
1188
- reconcilerSyncStatesSleepPeriod ,
1189
1177
waitForAttachTimeout ,
1190
1178
nodeName ,
1191
1179
dsw ,
0 commit comments