Skip to content

Commit

Permalink
Increase timeout for update to 120 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Dec 3, 2020
1 parent 3100642 commit bc5dcc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (($Name.Length -gt 0) -and ($Name[0] -match '^random (.+)')) {
$options = [ordered]@{
Force = $true
Push = $false
UpdateTimeout = 3600 #Update timeout in seconds
UpdateTimeout = 7200 #Update timeout in seconds
Threads = 10

IgnoreOn = @( #Error message parts to set the package ignore status
Expand Down
6 changes: 3 additions & 3 deletions update_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $Options = [ordered]@{
WhatIf = $au_WhatIf #Whatif all packages
Force = $false #Force all packages
Timeout = 100 #Connection timeout in seconds
UpdateTimeout = 3600 #Update timeout in seconds
UpdateTimeout = 7200 #Update timeout in seconds
Threads = 10 #Number of background jobs to use
Push = $Env:au_Push -eq 'true' #Push to chocolatey
PushAll = $true #Allow to push multiple packages at once
Expand Down Expand Up @@ -120,7 +120,7 @@ $global:au_Root = $Root #Path to the AU packa
$global:info = Update-AuPackages -Name $Name -Options $Options

#Uncomment to fail the build on build server on any package error
if ($global:info.error_count.total) {
if ($global:info.error_count.total) {
WriteOutput "Update failed with message: $global:info.result.all" -type Error
throw 'Errors during update'
throw 'Errors during update'
}

0 comments on commit bc5dcc3

Please sign in to comment.