Skip to content

Commit

Permalink
Fix total time calculation
Browse files Browse the repository at this point in the history
In case of timetrap_timeout the test_server_total_time is incorrectly incremented with the timeout value in milliseconds instead of seconds.
  • Loading branch information
saydome authored Aug 29, 2024
1 parent 5fa0be7 commit 5369e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/common_test/src/test_server_ctrl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3951,6 +3951,7 @@ run_test_case1(Ref, Num, Mod, Func, Args, RunInit,
{_,failed} ->
DiedTime = case Time of
died -> case RetVal of
{timetrap_timeout, T} -> T/1000;
{_,T} when is_number(T) -> T;
_ -> 0
end;
Expand Down

0 comments on commit 5369e6d

Please sign in to comment.