View | Details | Raw Unified | Return to bug 62637
Collapse All | Expand All

(-)a/src/core/org/apache/jmeter/timers/TimerService.java (-2 / +1 lines)
Lines 65-71 public class TimerService { Link Here
65
    public long adjustDelay(final long initialDelay, long endTime) {
65
    public long adjustDelay(final long initialDelay, long endTime) {
66
        if (endTime > 0) {
66
        if (endTime > 0) {
67
            long now = System.currentTimeMillis();
67
            long now = System.currentTimeMillis();
68
            if(now + initialDelay > endTime) {
68
            if (initialDelay > endTime - now) {
69
                return endTime - now;
69
                return endTime - now;
70
            }
70
            }
71
        }
71
        }
72
- 

Return to bug 62637