Skip to content

Commit 3a65aab

Browse files
committed
fix tests
1 parent 534e8a3 commit 3a65aab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/types/config.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const (
2929
commonRandomizationFactor = 0.1
3030
commonMultiplier = 0.2
3131

32-
reloadMonitoringPeriod = 400 * time.Millisecond
32+
maxParallelFileOperations = 5
33+
reloadMonitoringPeriod = 400 * time.Millisecond
3334
)
3435

3536
// Produces a populated Agent Config for testing usage.
@@ -53,7 +54,7 @@ func AgentConfig() *config.Config {
5354
MaxMessageSendSize: 1,
5455
MaxFileSize: 1,
5556
FileChunkSize: 1,
56-
MaxParallelFileOperations: 5,
57+
MaxParallelFileOperations: maxParallelFileOperations,
5758
},
5859
Backoff: &config.BackOff{
5960
InitialInterval: commonInitialInterval,

0 commit comments

Comments
 (0)