jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51480] ConstantThroughputTimer in shared mode all threads start with an incorrect delay of 0
Date Thu, 14 Jul 2011 20:15:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51480

Milamber <milamber@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Milamber <milamber@apache.org> 2011-07-14 20:15:38 UTC ---
Thanks for your works.

But, your patch doesn't works very well with the svn trunk. 
There have some errors (when apply patch) with 
* ConstantThroughputTimer.java
* PackageTest.java

I have modified some things to get all patch elements in my eclipse source
code.

But now, when I try to run ant tests, I have some errors:
     [java] There were 3 failures:
     [java] 1)
testTimer1(org.apache.jmeter.timers.PackageTest)junit.framework.AssertionFailedError:
Expected delay of approx 500 expected:<500.0> but was:<2000.0>
     [java]     at
org.apache.jmeter.timers.PackageTest.testTimer1(PackageTest.java:50)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:225)
     [java] 2)
testTimer2(org.apache.jmeter.timers.PackageTest)junit.framework.AssertionFailedError:
expected:<1> but was:<1001>
     [java]     at
org.apache.jmeter.timers.PackageTest.testTimer2(PackageTest.java:61)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:225)
     [java] 3)
testTimer3(org.apache.jmeter.timers.PackageTest)junit.framework.AssertionFailedError:
expected:<10> but was:<19>
     [java]     at
org.apache.jmeter.timers.PackageTest.testTimer3(PackageTest.java:74)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:225)
     [java] FAILURES!!!

Please could you send a new patch (tested it before on a fresh svn trunk & ant
tests). Thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message