Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable FS event notifier test on mac and consolidate fs tests. #7410

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

mbien
Copy link
Member

@mbien mbien commented May 27, 2024

  • FSEvent order isn't predictable on mac causing frequent failures
  • moved test to the core module and removed duplicates since the test itself is platform independent
  • run (now agregated) masterfs tests on all platforms (previously only linux) and:
    • disable the NotifierTest on mac
    • disable all other failing tests on windows (since they didn't run for a long time, see TODOs)
    • fix some JDK sensitive tests

the test failures are getting annoying. Discussed this with @neilcsmith-net via slack a while ago to turn the test on mac off, some resources:

NB Notifier service provider order is currently: https://github.com/search?q=repo%3Aapache%2Fnetbeans%20%40ServiceProvider(service%3DNotifier.class&type=code

last time things were changed: #1349, #1935

which means:

  • mac and win use mac/win impls
  • linux uses nio impl
  • linux impl is not in use

@mbien mbien added CI continuous integration changes tests labels May 27, 2024
@mbien mbien added this to the NB23 milestone May 27, 2024
@mbien mbien requested a review from neilcsmith-net May 27, 2024 19:52
@mbien mbien force-pushed the fix-mac-fs-tests branch from 08e7a23 to 4cecbf9 Compare May 27, 2024 20:23
@mbien
Copy link
Member Author

mbien commented May 27, 2024

looks like this opened another can of worms

 - FSEvent order isn't predictable on mac causing frequent failures
 - moved test to the core module and removed duplicates since the test
   itself is platform independent
 - run (now agregated) masterfs tests on all platforms (previously
   only linux) and:
   - disable the NotifierTest on mac
   - disable all other failing tests on windows (since they didn't run
     for a long time, see TODOs)
   - fix some JDK sensitive tests
@mbien mbien force-pushed the fix-mac-fs-tests branch from f2f554a to f2f8d5a Compare June 6, 2024 14:50
@mbien mbien changed the title Disable FS event notifier test on mac. Disable FS event notifier test on mac and consolidate fs tests. Jun 6, 2024
@mbien mbien marked this pull request as ready for review June 6, 2024 14:51
@mbien
Copy link
Member Author

mbien commented Jun 6, 2024

refreshed PR, going to merge once green again

@mbien mbien merged commit 46ffd20 into apache:master Jun 6, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration changes Code cleanup tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants