File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
clusterloader2/testing/list Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 44{{$configMapGroup := DefaultParam .CL2_LIST_CONFIG_MAP_GROUP "list-configmap"}}
55
66{{$listReplicas := DefaultParam .CL2_LIST_BENCHMARK_PODS 1}}
7- {{$contentType := DefaultParam .CL2_LIST_BENCHMARK_CONTENT_TYPE "json" }}
7+ {{$contentTypes := StringSplit .CL2_LIST_BENCHMARK_CONTENT_TYPE}}
88
99name : list-benchmark
1010namespace :
@@ -56,10 +56,11 @@ steps:
5656 bytes : {{$configMapBytes}}
5757 group : {{$configMapGroup}}
5858
59+ {{- range $i, $ct := $contentTypes }}
5960- module :
6061 path : modules/list-benchmark.yaml
6162 params :
62- namePrefix : " list-configmaps-"
63+ namePrefix : " list-configmaps-{{$ct}}- "
6364 replicas : {{$listReplicas}}
6465 uri : /api/v1/configmaps?resourceVersion=0
6566 namespaced : false
6869 path : /modules/measurements.yaml
6970 params :
7071 action : start
71- - name : Wait 5 minutes
72+ - name : Wait 5 minutes for {{$ct}}
7273 measurements :
7374 - Identifier : Wait
7475 Method : Sleep
8182- module :
8283 path : modules/list-benchmark.yaml
8384 params :
84- namePrefix : " list-configmaps-"
85+ namePrefix : " list-configmaps-{{$ct}}- "
8586 replicas : 0
87+ {{- end }}
You can’t perform that action at this time.
0 commit comments