Skip to content

Disable tests for compiler hangs#609

Closed
sourcefrog wants to merge 1 commit into
mainfrom
521-hang-when-mutated
Closed

Disable tests for compiler hangs#609
sourcefrog wants to merge 1 commit into
mainfrom
521-hang-when-mutated

Conversation

@sourcefrog
Copy link
Copy Markdown
Owner

When these are run under cargo mutants, they tend to leave hung processes running, and I don't think we strictly need them.

Fixes #521

Copilot AI review requested due to automatic review settings April 16, 2026 14:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR disables two integration tests in tests/main.rs that can leave hung rustc processes when the project is run under cargo mutants, addressing issue #521.

Changes:

  • Disabled the mutants_causing_tests_to_hang_are_stopped_by_manual_timeout integration test by commenting it out.
  • Disabled the constfn_mutation_passes_check integration test by commenting it out.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/main.rs Outdated
Comment thread tests/main.rs Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/main.rs Outdated
@sourcefrog sourcefrog force-pushed the 521-hang-when-mutated branch from c35c1e2 to 247c72e Compare April 16, 2026 15:08
When these are run under cargo mutants, they tend to leave hung processes running, and I don't think
we strictly need them.

Fixes #521
@sourcefrog sourcefrog requested a review from Copilot April 16, 2026 15:10
@sourcefrog
Copy link
Copy Markdown
Owner Author

merged

@sourcefrog sourcefrog closed this Apr 16, 2026
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.

hangs_when_mutated test sometimes leaves a rustc process hanging

2 participants