Skip to content

Commit

Permalink
preserve more logs and reduce timeout for restart for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
QxBytes committed Apr 22, 2024
1 parent fc16324 commit 0f00492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pipelines/cni/singletenancy/cniv2-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ stages:
condition: and( and( not(canceled()), not(failed()) ), or( contains(variables.CONTROL_SCENARIO, 'restartNode') , contains(variables.CONTROL_SCENARIO, 'all') ) )
displayName: "Restart Test"
dependsOn: deploy_pods
timeoutInMinutes: 90 # Windows podsubnet takes an extended amount of time to reconcile
timeoutInMinutes: 20 # Windows podsubnet takes an extended amount of time to reconcile
steps:
- template: ../load-test-templates/restart-node-template.yaml
parameters:
Expand Down
2 changes: 1 addition & 1 deletion cni/log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (

const (
maxLogFileSizeInMb = 5
maxLogFileCount = 8
maxLogFileCount = 110
)

func initZapLog(logFile string) *zap.Logger {
Expand Down

0 comments on commit 0f00492

Please sign in to comment.