File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,9 @@ def _try_extract_error_message(stderr: str) -> str:
61
61
return stderr [begin_pos :end_pos ].strip ()
62
62
63
63
try :
64
- if not YdbCluster .wait_ydb_alive (300 , path ):
65
- return YdbCliHelper .WorkloadRunResult (error_message = 'Ydb cluster is dead' )
64
+ wait_error = YdbCluster .wait_ydb_alive (300 , path )
65
+ if wait_error is not None :
66
+ return YdbCliHelper .WorkloadRunResult (error_message = f'Ydb cluster is dead: { wait_error } ' )
66
67
67
68
json_path = yatest .common .work_path (f'q{ query_num } .json' )
68
69
qout_path = yatest .common .work_path (f'q{ query_num } .out' )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def _get_duraton(stats, field):
65
65
allure .attach (result .stderr , 'Stderr' , attachment_type = allure .attachment_type .TEXT )
66
66
for p in ['Min' , 'Max' , 'Mean' , 'Median' ]:
67
67
if p in stats :
68
- allure .dynamic .parameter (p , stats [p ])
68
+ allure .dynamic .parameter (p , f' { int ( stats [p ]) } ms' )
69
69
error_message = ''
70
70
success = True
71
71
if not result .success :
You can’t perform that action at this time.
0 commit comments