Skip to content

Commit 66bfb07

Browse files
committed
load_tests: print describe tasks response for each test task
Signed-off-by: Wesley Pettit <[email protected]>
1 parent 726eee6 commit 66bfb07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

load_tests/load_test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,11 @@ def run_ecs_tests():
226226

227227
# Wait until task stops and start validation
228228
for throughput in THROUGHPUT_LIST:
229+
task_arn = names[f'{OUTPUT_PLUGIN}_{throughput}_task_arn']
229230
waiter.wait(
230231
cluster=ecs_cluster_name,
231232
tasks=[
232-
names[f'{OUTPUT_PLUGIN}_{throughput}_task_arn'],
233+
task_arn,
233234
],
234235
WaiterConfig={
235236
'MaxAttempts': 600
@@ -238,9 +239,11 @@ def run_ecs_tests():
238239
response = client.describe_tasks(
239240
cluster=ecs_cluster_name,
240241
tasks=[
241-
names[f'{OUTPUT_PLUGIN}_{throughput}_task_arn'],
242+
task_arn,
242243
]
243244
)
245+
print(f'task_arn={task_arn}')
246+
print(f'response={response}')
244247
check_app_exit_code(response)
245248
input_record = calculate_total_input_number(throughput)
246249
start_time = response['tasks'][0]['startedAt']

0 commit comments

Comments
 (0)