Skip to content

remove unnecessary 1 second sleep from user_sup terminate#10776

Closed
tsloughter wants to merge 1 commit intoerlang:masterfrom
tsloughter:user-sup-sleep
Closed

remove unnecessary 1 second sleep from user_sup terminate#10776
tsloughter wants to merge 1 commit intoerlang:masterfrom
tsloughter:user-sup-sleep

Conversation

@tsloughter
Copy link
Contributor

I talked to @jhogberg a bit ago and he believed this wait was not necessary because the buffer was handled elsewhere.

If there is a good way to test this, aside from just if the current tests pass, I'm willing to add a test.

I'm still trying to get checks to build locally, but figured I'd open this since I meant to open it weeks ago :)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

CT Test Results

    2 files     74 suites   1h 5m 20s ⏱️
1 775 tests 1 361 ✅ 413 💤 1 ❌
2 027 runs  1 555 ✅ 471 💤 1 ❌

For more details on these failures, see this check.

Results for commit 62eecb8.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@lpil
Copy link
Contributor

lpil commented Feb 26, 2026

Very happy to see this change! 🎉

Copy link
Contributor

@garazdawi garazdawi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sleep was added in R7B, which is way before we added synchronous writing to io. It should have been removed when we did that, but must have been missed.

@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Mar 2, 2026
@jhogberg jhogberg added the testing currently being tested, tag is used by OTP internal CI label Mar 2, 2026
@bjorng bjorng removed the testing currently being tested, tag is used by OTP internal CI label Mar 4, 2026
@bjorng
Copy link
Contributor

bjorng commented Mar 4, 2026

With this PR, the test case run_erl_SUITE:heavy/1 in the system "application" fails.

@garazdawi
Copy link
Contributor

#10808 is a version that may fix the testcase.

@tsloughter
Copy link
Contributor Author

Great! I'll close mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants