On Mon, 3 Mar 2025 17:26:04 GMT, Phil Race <[email protected]> wrote:

> > Drag mouse for a short while.
> 
> Why does this help ?

Initially I thought the problem was similar to other drag and drop tests where 
handling timeout takes 2 hours occasionally. There are several cases where 
`javax/swing/JColorChooser/Test6827032.java` took more than 2 hours.


----------System.out:(1/37)----------
Timeout signalled after 240 seconds
----------System.err:(1/16)----------
STATUS:Passed.

result: Error. Program `…\jdk-17.0.16\bin\java' timed out
(timeout set to 240000ms, elapsed time including timeout handling was 
7469797ms).


We've never figured out why it happens.

However, the hang that I reproduced locally looked differently. I thought it 
could be related to starting secondary event loop for drag and drop… but then I 
didn't see any AWT threads in the thread dump.

It may be that dragging mouse actually finishes drag and drop… and it makes the 
test run a little longer.

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

PR Comment: https://git.openjdk.org/jdk/pull/23846#issuecomment-2695161702

Reply via email to