On Tue, 19 Apr 2022 20:03:57 GMT, Alexander Zvegintsev <azveg...@openjdk.org> 
wrote:

> Test was written based on assumption that we will receive only one 
> `mouseWheelMoved` event with `getWheelRotation() == 20` after 
> `robot.mouseWheel(20)` call, but we can receive 20  events with 
> `getWheelRotation == 1` instead.
> 
> So the test is modified to accumulate wheel rotation values before checking.
> 
> Testing is green on all platforms.

This pull request has now been integrated.

Changeset: a1efb955
Author:    Alexander Zvegintsev <azveg...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/a1efb95536fb3995780336604cc727f921770c63
Stats:     43 lines in 2 files changed: 32 ins; 6 del; 5 mod

8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails

Reviewed-by: psadhukhan

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

PR: https://git.openjdk.java.net/jdk/pull/8305

Reply via email to