Issue: 
On MacOS, several tests fail intermittently.

Fix: 
- The test TableViewContextMenuSortTest.testContextMenuRequestDoesNotSort() 
performs a Ctrl + Click test only on MacOS platform.
- If the Ctrl + Click is avoided, then the test failures are not observed.
- So this change comments out the part of the test in question.
- A follow-up ticket is created to investigate/update the test 
[JDK-8367566](https://bugs.openjdk.org/browse/JDK-8367566)

Verification:
1. Verified the headful test with full run, 12 times. The issue does not occur.
Without this change, the tests do fail more often.
2. @beldenfox shared a way to reproduce the failures, in a comment in JBS 
ticket : [JDK-8359154](https://bugs.openjdk.org/browse/JDK-8359154)**:** If 
these 5 tests are run repeatedly TableViewClickOnTroughTest, 
TableViewContextMenuSortTest, TableViewResizeColumnToFitContentTest, 
TreeTableViewChangeRootTest, and TreeTableViewResizeColumnToFitContentTest, 
then the issue could occur in 'n' iterations < 120. 
With this change, no test failure is observed. Several times, tested 120 
iterations.

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

Commit messages:
 - skip Ctrl + click

Changes: https://git.openjdk.org/jfx/pull/1899/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1899&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359154
  Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1899.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1899/head:pull/1899

PR: https://git.openjdk.org/jfx/pull/1899

Reply via email to