JaroslavTulach commented on pull request #3781:
URL: https://github.com/apache/netbeans/pull/3781#issuecomment-1077385798


   > the bugfixing period should start next week. I hope I'll be able to 
address at least the Gradle/java one. I've already found some race - but 
apparently not all of them.
   
   +1, but:
   
   The purpose of pre-commit CI validation is: _prevent others to cause 
regressions_. Keeping unreliable tests in the shared CI pool undermines the 
main purpose - it only annoys others as they are being punished by your own 
incapability to stabilize your tests.
   
   Set a private job (like [vscode 
did](https://ci-builds.apache.org/job/Netbeans/job/netbeans-vscode/) with 
`java/java.lsp.server` tests) to run your tests including `@RandomlyFails` 
ones. Execute often and perform stabilization of your code & tests there until 
the code is stable. Meanwhile just annotate **every** randomly failing test in 
pre-commit CI as `@RandomlyFails` ones.
   
   I fully understand why engineers don't want to disable tests, but consider 
the harm caused by keeping annoying randomly failing tests in the shared CI 
pool. 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to