Skip to content

Commit

Permalink
Add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ferglor committed Jul 11, 2024
1 parent edd3c8a commit 8dd41a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion integration-tests/load/automationv2_1/automationv2_1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ Load Config:
}
}

minDequeueJSON, _ := json.Marshal(minDequeue)

avgBlocks := float64(0)
if len(blockWindowCounts) > 0 {
avgBlocks = float64(blocks) / float64(len(blockWindowCounts))
Expand Down Expand Up @@ -767,9 +769,11 @@ Load Config:
Int64("Total Events Missed", eventsMissed).
Float64("Percent Missed", percentMissed).
Float64("Average Blocks", avgBlocks).
Int("Log Limit", int(*logLimit)).
Int("Num upkeeps with one or more logs performed", numUpkeepsWithSomeLogsPerformed).
Int("Num upkeeps with one or more min dequeue blocks", numUpkeepsWithSomeMinDequeue).
Str("Block window counts per upkeep", string(blockWindowCountsJSON)).
Str("Block window counts per upkeep JSON", string(blockWindowCountsJSON)).
Str("Min dequeue JSON", string(minDequeueJSON)).
Msg("Test completed")

testReportFormat := `Upkeep Delays in seconds - Fast Execution
Expand Down

0 comments on commit 8dd41a7

Please sign in to comment.