-
Notifications
You must be signed in to change notification settings - Fork 608
Implement sending mixed traffic (json,proto) #3478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
{{$configMapGroup := DefaultParam .CL2_LIST_CONFIG_MAP_GROUP "list-configmap"}} | ||
|
||
{{$listReplicas := DefaultParam .CL2_LIST_BENCHMARK_PODS 1}} | ||
{{$contentType := DefaultParam .CL2_LIST_BENCHMARK_CONTENT_TYPE "json"}} | ||
{{$contentTypes := StringSplit .CL2_LIST_BENCHMARK_CONTENT_TYPE}} | ||
|
||
name: list-benchmark | ||
namespace: | ||
|
@@ -56,19 +56,20 @@ steps: | |
bytes: {{$configMapBytes}} | ||
group: {{$configMapGroup}} | ||
|
||
{{- range $i, $ct := $contentTypes }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have you tested if this for loop works? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, have tested it, I passed the env variable export CL2_LIST_BENCHMARK_CONTENT_TYPE=json,proto `I0904 12:17:41.288482 96635 exec_service.go:122] Exec service: service set up successfully! I0904 12:17:41.460583 96635 simple_test_executor.go:162] Step "[step: 04] Wait 5 minutes for json" started[{kube-apiserver map[cpu:{{891606624 -9} {} 891606624n DecimalSI} memory:{{228081664 0} {} BinarySI}]}] I0904 12:18:11.465419 96635 simple_test_executor.go:162] Step "[step: 07] Wait 5 minutes for proto" started[{kube-apiserver map[cpu:{{899564744 -9} {} 899564744n DecimalSI} memory:{{226471936 0} {} 221164Ki BinarySI}]}] |
||
- module: | ||
path: modules/list-benchmark.yaml | ||
params: | ||
namePrefix: "list-configmaps-" | ||
namePrefix: "list-configmaps-{{$ct}}-" | ||
replicas: {{$listReplicas}} | ||
uri: /api/v1/configmaps?resourceVersion=0 | ||
namespaced: false | ||
contentType: {{$contentType}} | ||
contentType: {{$ct}} | ||
- module: | ||
path: /modules/measurements.yaml | ||
params: | ||
action: start | ||
- name: Wait 5 minutes | ||
- name: Wait 5 minutes for {{$ct}} | ||
measurements: | ||
- Identifier: Wait | ||
Method: Sleep | ||
|
@@ -81,5 +82,6 @@ steps: | |
- module: | ||
path: modules/list-benchmark.yaml | ||
params: | ||
namePrefix: "list-configmaps-" | ||
namePrefix: "list-configmaps-{{$ct}}-" | ||
replicas: 0 | ||
{{- end }} | ||
arshadd-b marked this conversation as resolved.
Show resolved
Hide resolved
|
Uh oh!
There was an error while loading. Please reload this page.