Skip to content

Commit

Permalink
workflows - large logs - sleep fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed Dec 17, 2024
1 parent 5d15b55 commit 8869b0f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: TestWorkflow
metadata:
name: large-logs-1mb-no-delay
labels:
core-tests: edge-cases-large
core-tests: large
description: "Logs: 1 MB"
spec:
steps:
Expand All @@ -20,7 +20,7 @@ kind: TestWorkflow
metadata:
name: large-logs-1mb-1s
labels:
core-tests: edge-cases-large
core-tests: large
description: "Logs: 1 MB"
spec:
steps:
Expand All @@ -30,14 +30,14 @@ spec:
command:
- bash
- -c
- for iteration in {1..100}; do printf "\niteration $iteration\n"; for sets in {1..20}; do printf "LINE_BEGINNING_"; printf "abc DEFghi JKL ASDF BBB CCC%.0s" {1..20}; printf "_LINE_END"; printf "\n"; done; done # 100 iterations - about 1.1MB
- for iteration in {1..100}; do sleep 1; printf "\niteration $iteration\n"; for sets in {1..20}; do printf "LINE_BEGINNING_"; printf "abc DEFghi JKL ASDF BBB CCC%.0s" {1..20}; printf "_LINE_END"; printf "\n"; done; done # 100 iterations - about 1.1MB
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: large-logs-11mb-no-delay
labels:
core-tests: edge-cases-large
core-tests: large
description: "Logs: 11 MB"
spec:
steps:
Expand All @@ -54,7 +54,7 @@ kind: TestWorkflow
metadata:
name: large-logs-11mb-1s
labels:
core-tests: edge-cases-large
core-tests: large
description: "Logs: 11 MB"
spec:
steps:
Expand All @@ -71,7 +71,7 @@ kind: TestWorkflow
metadata:
name: large-logs-22mb-2s
labels:
core-tests: edge-cases-large
core-tests: large
description: "Logs: 22 MB"
spec:
steps:
Expand Down

0 comments on commit 8869b0f

Please sign in to comment.