RFR: 8225131: Test DragSourceMotionListenerTest.java fails on Windows [v2]
Tejesh R
tr at openjdk.org
Tue Sep 23 04:05:27 UTC 2025
On Mon, 22 Sep 2025 18:00:52 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> > > > It would be logical to add `waitForIdle` _after all the dragging is finished_, after line 187. That is right before `robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK)` and `robot.keyRelease(KeyEvent.VK_CONTROL)` are called.
> > >
> > >
> > > @TejeshR13 What about this question?
> >
> >
> > Yes, but without this the test passes multiple iterations. Should we still add `waitForIdle` ?
>
> I suggest adding `waitForIdle` and `delay` only here instead of where you added them.
Adding `waitForIdle` and `delay` only at line 187 isn't working which is why I added at line 176.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27283#issuecomment-3322331631
More information about the client-libs-dev
mailing list