<Swing Dev> RFR: 8196090: javax/swing/JComboBox/6559152/bug6559152.java fails
Sergey Bylokhov
serb at openjdk.java.net
Mon Oct 19 05:19:13 UTC 2020
On Mon, 19 Oct 2020 04:28:48 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> test/jdk/javax/swing/JComboBox/6559152/bug6559152.java line 90:
>>
>>> 88:
>>> 89: private void testImpl() throws Exception {
>>> 90: robot.keyPress(KeyEvent.VK_DOWN);
>>
>> Extended robot calls "delay()" and "waitForIdle()" twice for each "type()", so it does not look like to roor cause, it
>> is pretty similar to the updated code.
>
> Extended robot uses 20ms delay between events whereas we are using 100ms for setAutoDelay for other tests and we have
> seen timing does matter in mach5 testing, so although it's similar, time value differs.
Not sure that such a difference is big enough, on macOS it is not possible to click faster than once per 50ms. I
suggest looking to this comment in the JBS:
> 2. Test fails when run in group like running full JComboBox with jtreg. Looks like some execution problem.
To confirm that you can press the "shift" or "cmd" or "alt" key during the test run and it will fail. So most probably
some other test which was executed before caused the test to fail.
-------------
PR: https://git.openjdk.java.net/jdk/pull/700
More information about the swing-dev
mailing list