Skip to content

Commit ca49c29

Browse files
committed
add string custom metrics
1 parent 653f780 commit ca49c29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/process_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ def merge_custom_metrics(self):
221221
value = int(value)
222222
elif re.match(r'^[0-9]*\.[0-9]+$', value):
223223
value = float(value)
224+
else:
225+
value = value.strip()
224226
if name == 'test_result':
225227
# Only use a custom value for a test result if it is explicitly set
226228
if value:

0 commit comments

Comments
 (0)