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 4
4
{{$configMapGroup := DefaultParam .CL2_LIST_CONFIG_MAP_GROUP "list-configmap"}}
5
5
6
6
{{$listReplicas := DefaultParam .CL2_LIST_BENCHMARK_PODS 1}}
7
- {{$contentType := DefaultParam .CL2_LIST_BENCHMARK_CONTENT_TYPE "json" }}
7
+ {{$contentTypes := StringSplit .CL2_LIST_BENCHMARK_CONTENT_TYPE}}
8
8
9
9
name : list-benchmark
10
10
namespace :
@@ -56,10 +56,11 @@ steps:
56
56
bytes : {{$configMapBytes}}
57
57
group : {{$configMapGroup}}
58
58
59
+ {{- range $i, $ct := $contentTypes }}
59
60
- module :
60
61
path : modules/list-benchmark.yaml
61
62
params :
62
- namePrefix : " list-configmaps-"
63
+ namePrefix : " list-configmaps-{{$ct}}- "
63
64
replicas : {{$listReplicas}}
64
65
uri : /api/v1/configmaps?resourceVersion=0
65
66
namespaced : false
68
69
path : /modules/measurements.yaml
69
70
params :
70
71
action : start
71
- - name : Wait 5 minutes
72
+ - name : Wait 5 minutes for {{$ct}}
72
73
measurements :
73
74
- Identifier : Wait
74
75
Method : Sleep
81
82
- module :
82
83
path : modules/list-benchmark.yaml
83
84
params :
84
- namePrefix : " list-configmaps-"
85
+ namePrefix : " list-configmaps-{{$ct}}- "
85
86
replicas : 0
87
+ {{- end }}
You can’t perform that action at this time.
0 commit comments