SLCORE-1555 Run medium tests in parallel#1438
SLCORE-1555 Run medium tests in parallel#1438damien-urruty-sonarsource wants to merge 9 commits into
Conversation
af5870d to
96f72cd
Compare
|
ac777c7 to
343fa95
Compare
🤖 Pull Request summaryUpdates test infrastructure for better parallelization and dynamic port allocation. • Maven configuration: Added surefire plugin with Review focus: The NetworkUtils port allocation logic is complex - verify the blocked ports list and collision detection work correctly across parallel test execution.
|
d829266 to
66f0245
Compare
66f0245 to
a6cc8a7
Compare
|
@damien-urruty-sonarsource can we close it or define path forward if we need to? Thx for helping to keep things tidy. |
7aa0417 to
e5ac64e
Compare
e5ac64e to
fcf750b
Compare
fcf750b to
434c9c5
Compare
434c9c5 to
88f3f1d
Compare
88f3f1d to
da95ada
Compare
|
We are canceling all commands, but this just changes the cancelation flag in the monitor. Analysis can still continue to run. We need to wait for proper termination of the analysis queue and thread before stopping components
67d864e to
7e50aa7
Compare
7e50aa7 to
298a890
Compare
Tests run in parallel so each test can take longer in some steps, and it revealed some races in tests or too low timeouts
298a890 to
863d62f
Compare
863d62f to
a6980f8
Compare
a6980f8 to
25986e9
Compare
25986e9 to
40e5a1d
Compare
40e5a1d to
fcfe06a
Compare
fcfe06a to
9a4d13d
Compare
|
CI failed: Integration test failures occurred in the `SonarCloudTests$TaintVulnerabilities` suite, likely due to race conditions or resource contention introduced by recent changes to parallel execution and WebSocket infrastructure.OverviewOne integration test suite failure was detected in the build, specifically within Failures
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar












SLCORE-1555
Summary by Gitar
medium-tests/pom.xmlto enable test parallelization withforkCountset to0.25C.test-utilsfrom Tomcat toJava-WebSocketand addedNetworkUtilsto manage dynamic port allocation.SonarLintBackendFixtureand various medium tests to useURIfor WebSocket endpoints and wait for configuration scope registration.AnalysisSchedulerto wait for the analysis thread to join before stopping components, ensuring clean shutdowns.@PreDestroymethods toFindingsSynchronizationService,WebSocketManager,FileExclusionService, andConnectionSuggestionProviderfor proper resource cleanup.SmartNotificationspoll period for faster test execution.JuliSLF4JDelegatingLogand associated test-utils.This will update automatically on new commits.