Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

cherry-pick(release-v1.3.x): Fixed the type of execution_timestamp #1377

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/performance/upload_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def read_metric_data(file_name):
run_type = content['run_type']
pull_number = content['pull_number']
commit_id = content['commit_id']

execution_timestamp_in_string = execution_timestamp.strftime("%Y-%m-%d %H:%M:%S")
for data in kpi_data:
if data['name'] == 'usage':
for metric in data['metrics']:
Expand All @@ -130,7 +130,7 @@ def read_metric_data(file_name):
'run_type': run_type,
'pull_number': pull_number,
'commit_id': commit_id,
'execution_timestamp': execution_timestamp,
'execution_timestamp': execution_timestamp_in_string,
'sbo_version': sbo_version,
'openshift_version': openshift_version,
'openshift_release': openshift_release}
Expand Down