Fix: Correct time-based delay calculation in metric test loop
- Replaced incorrect float-based timing logic with proper use of Go's time package. - Previously, delay was calculated using math.Pow() on raw float values, causing unintended near-zero delays. - Now uses time.Duration arithmetic with jitter and random factor to generate appropriate sleep intervals. - Also fixed logging statement with incorrect parameter count.
Please register or sign in to comment