On Tue, 10 Sep 2024 18:38:15 GMT, Aleksei Efimov <aefi...@openjdk.org> wrote:

>> I think 2 times is good, remove all potential noise  ;-)
>> 
>> the following failures is nearly twice the expected
>> 
>> ----------System.out:(3/73)----------
>> Skip local DNS Server creation
>> Elapsed (ms): 14229
>> Expected (ms): 7750
>> ----------System.err:(13/652)----------
>> java.lang.RuntimeException: Failed: timeout in 14229 ms, expected 7750ms
>> at Timeout.handleException(Timeout.java:116)
>> at TestBase.launch(TestBase.java:84)
>> at TestBase.run(TestBase.java:50)
>> at Timeout.main(Timeout.java:59)
>> 
>> and  I think it fails  the new upper bound check 
>> 
>> most of the elapsed times that have been less than the expected have been 
>> within the 50 * 5  tolerance, but there have been a few outside the -250 
>> mess lower bound
>
> I agree that we don't want to document too much here. Updated the factor to 
> 1.75 (2 seems a bit high and might hide real issues), and to make the timeout 
> value calculation and check less arcane - I have updated test output to print 
> the range of acceptable timeout values: 
> 05ed9e053865293a1938ed7bc6fe208759513813

2 time  is not too high,
I have presented, in the comment, a failures with the elapsed time is almost 
twice the expected time
where the elapsed time is 14229 !! which is approx 1.84 * expected timeout

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20892#discussion_r1752563030

Reply via email to