mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: update StartTime to use UnixMilli for better precision across step functions
This commit is contained in:
@@ -95,7 +95,7 @@ func runStepShell(r *SessionRunner, step IStep) (stepResult *StepResult, err err
|
||||
StepType: step.Type(),
|
||||
Success: false,
|
||||
ContentSize: 0,
|
||||
StartTime: start.Unix(),
|
||||
StartTime: start.UnixMilli(),
|
||||
}
|
||||
defer func() {
|
||||
stepResult.Elapsed = time.Since(start).Milliseconds()
|
||||
|
||||
Reference in New Issue
Block a user