ptupitsyn opened a new pull request, #6868: URL: https://github.com/apache/ignite-3/pull/6868
This pull request improves the reliability of starting Java server processes in the .NET test suite by introducing a retry mechanism and making the server startup code more robust. It also restricts a specific compatibility test to run only on Linux to optimize CI performance. **Java server startup reliability improvements:** * Added a retry mechanism to `JavaServer` startup, allowing up to three attempts if the server fails to start, and logging failures between attempts (`JavaServer.cs`) [[1]](diffhunk://#diff-69251744245a006693c9a79e369343d71294822abd4b020bb4e7b66c72dca3f4R43-R44) [[2]](diffhunk://#diff-69251744245a006693c9a79e369343d71294822abd4b020bb4e7b66c72dca3f4L67-R76) [[3]](diffhunk://#diff-69251744245a006693c9a79e369343d71294822abd4b020bb4e7b66c72dca3f4R112-R136). * Made the server port assignment and exception signaling more robust by using `TrySetResult` and `TrySetException` to prevent possible race conditions or multiple invocations (`JavaServer.cs`). * Improved error detection during server startup by also handling lines containing "Unable to start", in addition to Java exceptions (`JavaServer.cs`). **Test suite optimization:** * Restricted the `CurrentClientWithOldServerCompatibilityTest` to run only on Linux, as it runs faster on CI in that environment (`CurrentClientWithOldServerCompatibilityTest.cs`). -- 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]
