sdedic opened a new pull request #3441: URL: https://github.com/apache/netbeans/pull/3441
An attempt to fix failing `ServerTest` from lsp on Travis CI, job `Test Java modules with nb-javac on Java 8`. I've found out that the test probably catches a wrong process: at least on local, there was also indexing and some other processes going on, so the captured cancellation token might represent a different task than the compilation one. I've rewritten the test so it does not rely on Maven, the mocked LSP client captures just the specific command's progress. The test now verifies that a cancel instruction from the LSP client will reach the appropriate `Cancellable` instance in the LSP server - but nothing more; the previous version could eventually verify that a build can be cancelled. -- 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
