Skip to content

Commit ed93ff4

Browse files
matthewfalabendu
authored andcommitted
firelens-stability: high throughput test
Signed-off-by: Matthew Fala <falamatt@amazon.com>
1 parent 314ebb8 commit ed93ff4

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

apps/firelens-stability/collections/ecs-firelens-one-flow-tests/rainbow-stability/case-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"config": {
3-
"template": "rainbow-fargate-one-flow",
43
"taskCount": 5
54
},
65
"definitions": {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"definitions": {
33
"rainbow_cw_c_on": false,
4-
"rainbow_cw_go_on": true
4+
"rainbow_cw_go_on": true,
5+
"kbps_throughput_tcp": 1000
56
}
67
}

apps/firelens-stability/execution.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"executionName": "2_32_1_one-flow-tests",
2+
"executionName": "2_32_1_one-flow-tests_run-02",
33
"executeCollections": [
44
"ecs-firelens-one-flow-tests"
55
],

apps/firelens-stability/templates/rainbow-fargate/default-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"include_onepod": false,
1313
"kbps_throughput_tcp": 10,
1414
"debugS3Bucket": "{{managed.s3OutputBucket}}",
15-
"debugS3KeyPrefix": "{{managed.s3OutputExecutionPath}}/{{managed.caseNameUnique}}",
15+
"debugS3KeyPrefix": "{{managed.s3OutputExecutionPath}}/{{managed.caseNameUnique}}"
1616
}
1717
}

apps/firelens-stability/templates/rainbow-fargate/fluent-bit.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
Match ApplicationLogs
5151
region {{config.region}}
5252
log_group_name {{definitions.cw_log_group_name}}
53-
log_stream_prefix {{definitions.cw_log_stream_name_prefix}}_cw-c
53+
log_stream_prefix {{definitions.cw_log_stream_name_prefix}}_cw-c_${ECS_TASK_ID}
5454
log_key log
5555
auto_create_group {{definitions.cw_auto_create_group}}
5656
retry_limit 3
@@ -62,6 +62,6 @@
6262
Match ApplicationLogs
6363
region {{config.region}}
6464
log_group_name {{definitions.cw_log_group_name}}
65-
log_stream_prefix {{definitions.cw_log_stream_name_prefix}}_cw-go
65+
log_stream_prefix {{definitions.cw_log_stream_name_prefix}}_cw-go_${ECS_TASK_ID}
6666
auto_create_group {{definitions.cw_auto_create_group}}
6767
{{/if}}

apps/firelens-stability/templates/rainbow-fargate/task-definition.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@
8585
{
8686
"name": "fluent-bit",
8787
"image": "{{definitions.imageAwsForFluentBit}}",
88+
"command": [
89+
"/bin/sh", "-c",
90+
"/init/fluent_bit_init_process; chmod +x /init/invoke_fluent_bit.sh; exec env ECS_TASK_ID=$(curl -s \"${ECS_CONTAINER_METADATA_URI_V4}/task\" | awk -F '\"TaskARN\":\"' '{print $2}' | cut -d \\\" -f 1 | cut -d \\\\ -f 3) /init/invoke_fluent_bit.sh"
91+
],
8892
"cpu": 1024,
8993
"firelensConfiguration": {
9094
"type": "fluentbit"
@@ -103,7 +107,7 @@
103107
{
104108
"name": "aws_fluent_bit_init_s3_1",
105109
"value": "{{managed.s3ResourcesArn}}/fluent-bit.conf"
106-
}
110+
},
107111
{
108112
"name": "S3_BUCKET",
109113
"value": "{{definitions.debugS3Bucket}}"
@@ -126,11 +130,7 @@
126130
},
127131
"linuxParameters": {
128132
"initProcessEnabled": true
129-
},
130-
"dependsOn": [{
131-
"containerName": "mock",
132-
"condition": "START"
133-
}]
133+
}
134134
},
135135
{
136136
"name": "datajet",

0 commit comments

Comments
 (0)