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

Fix "Terminate and Relaunch" of groups that use adoptIfRunning #1318 #1381

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented May 17, 2024

This was a race condition:
RuntimeProcess.fTerminated was only set asynchronously, hindering relaunching the process, thinking it was already running.

Happened only for GroupLaunchElement.adoptIfRunning == true

fixes
#1318

Copy link
Contributor

github-actions bot commented May 17, 2024

Test Results

 1 737 files  ±0   1 737 suites  ±0   1h 27m 31s ⏱️ - 13m 14s
 3 972 tests ±0   3 949 ✅  - 1   22 💤 ±0  1 ❌ +1 
12 513 runs  ±0  12 351 ✅  - 1  161 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit faf27df. ± Comparison against base commit a4776c2.

♻️ This comment has been updated with latest results.

…e-platform#1318

This was a race condition:
RuntimeProcess.fTerminated was only set asynchronously, hindering
relaunching the process, thinking it was already running.

Happened only for GroupLaunchElement.adoptIfRunning == true

fixes
eclipse-platform#1318
@jukzi
Copy link
Contributor Author

jukzi commented Jun 6, 2024

ignoring unrelated random fail ProcessConsoleManagerTests

@jukzi jukzi merged commit 334df51 into eclipse-platform:master Jun 6, 2024
14 of 16 checks passed
@jukzi jukzi deleted the adoptIfRunning branch June 6, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Launch View: "Terminate and Relaunch" sometimes does not relaunch all processes of a Launch Group
2 participants