Skip to content

Commit 01584f0

Browse files
author
Tim Middleton
committed
Add iterations parameter to script
1 parent e563fb7 commit 01584f0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build-kind.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
description: "Go version (comma-separated for matrix)"
1818
required: false
1919
default: "1.23.x,1.24.x"
20+
max-iterations:
21+
description: "Maximum number of iterations"
22+
required: false
23+
default: "10"
2024

2125
jobs:
2226
build:
@@ -65,7 +69,10 @@ jobs:
6569
- name: Run Tests
6670
# if: github.event_name == 'workflow_dispatch'
6771
shell: bash
72+
env:
73+
MAX_ITERATIONS: ${{ github.event.inputs.max-iterations }}
6874
run: |
75+
export MAX_ITERATIONS
6976
NAMESPACE=coherence-perf
7077
kubectl exec -it -n $NAMESPACE perf-cluster-0 -c coherence -- /coherence-operator/utils/cohctl get caches -o wide
7178
make deploy-test-schools

scripts/kind/test-schools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- name: COHERENCE_SERVER_ADDRESS
2222
value: "perf-cluster-grpc:1408"
2323
- name: COHERENCE_READY_TIMEOUT
24-
value: "15000"
24+
value: "30000"
2525
- name: TEST_TYPE
2626
value: "runTest"
2727
- name: COHERENCE_LOG_LEVEL

0 commit comments

Comments
 (0)