Skip to content

Commit d2dd7fb

Browse files
committed
Add check_job_completion_time in the unittests configuration
1 parent e24378e commit d2dd7fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

schemas/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,15 @@
166166
'prefix': '%(check_system)s/%(check_partition)s',
167167
'level': 'info',
168168
'format': (
169-
'%(asctime)s|reframe %(version)s|'
169+
'%(check_job_completion_time)s|reframe %(version)s|'
170170
'%(check_info)s|jobid=%(check_jobid)s|'
171171
'%(check_perf_var)s=%(check_perf_value)s|'
172172
'ref=%(check_perf_ref)s '
173173
'(l=%(check_perf_lower_thres)s, '
174174
'u=%(check_perf_upper_thres)s)|'
175175
'%(check_perf_unit)s'
176176
),
177+
'datefmt': '%FT%T%:z',
177178
'append': True
178179
}
179180
]

unittests/resources/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,15 @@ class ReframeSettings:
154154
'prefix': '%(check_system)s/%(check_partition)s',
155155
'level': 'INFO',
156156
'format': (
157-
'%(asctime)s|reframe %(version)s|'
157+
'%(check_job_completion_time)s|reframe %(version)s|'
158158
'%(check_info)s|jobid=%(check_jobid)s|'
159159
'%(check_perf_var)s=%(check_perf_value)s|'
160160
'ref=%(check_perf_ref)s '
161161
'(l=%(check_perf_lower_thres)s, '
162162
'u=%(check_perf_upper_thres)s)|'
163163
'%(check_perf_unit)s'
164164
),
165+
'datefmt': '%FT%T%:z',
165166
'append': True
166167
}
167168
]

0 commit comments

Comments
 (0)