You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/04/26 16:07:30 UTC

[Bug 64381] New: PreciseThroughputTimer: On termination message contains negative value

https://bz.apache.org/bugzilla/show_bug.cgi?id=64381

            Bug ID: 64381
           Summary: PreciseThroughputTimer: On termination message
                    contains negative value
           Product: JMeter
           Version: 5.2.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: JMETER_5.3.0

When Timer needs to terminate thread, it logs:

- 2020-04-22 22:33:45,487 INFO o.a.j.t.JMeterThread: Stopping Thread:
org.apache.jorphan.util.JMeterStopThreadException: The thread is scheduled to
stop in -70320 ms and the throughput timer generates a delay of 159461. JMeter
(as of 4.0) does not support interrupting of sleeping threads, thus terminating
the thread manually.


This value -70320 is incorrect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64381] PreciseThroughputTimer: On termination, log message contains negative value

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64381

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Keywords|                            |FixedInTrunk

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
This is an automated email from the ASF dual-hosted git repository.

pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 0772c1d  Bug 64381 - PreciseThroughputTimer: On termination, log
message contains negative value
0772c1d is described below

commit 0772c1d97e49aa6c5e615f1fc02ba7bd215c710b
Author: pmouawad <p....@ubik-ingenierie.com>
AuthorDate: Sun Apr 26 18:08:42 2020 +0200

    Bug 64381 - PreciseThroughputTimer: On termination, log message contains
    negative value

    Also avoid calling System.currentTimeMillis() too much times
---
 .../jmeter/timers/poissonarrivals/PreciseThroughputTimer.java | 11 ++++++-----
 xdocs/changes.xml                                             |  1 +
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64381] PreciseThroughputTimer: On termination, log message contains negative value

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64381

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|PreciseThroughputTimer: On  |PreciseThroughputTimer: On
                   |termination message         |termination, log message
                   |contains negative value     |contains negative value
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

-- 
You are receiving this mail because:
You are the assignee for the bug.