Skip to content

Fix transient LargeObjectHeapCompactionModeRoundTrips failure - #135087

Open
mrek-msft wants to merge 3 commits into
dotnet:mainfrom
mrek-msft:dev/mrek/gc-loh-compact-mode-trip-test-reliabity
Open

mrek-msft wants to merge 3 commits into
dotnet:mainfrom
mrek-msft:dev/mrek/gc-loh-compact-mode-trip-test-reliabity

Conversation

@mrek-msft

Copy link
Copy Markdown
Member

Remove test sensitive to parallel test run and move checked invariants to different test testing similar things.

Fix #134997

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Removing the theory leaves explicit assignment of the Default mode untested.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Removes a flaky shared-process GC setting test and shifts validation to an isolated LOH compaction test.

Changes:

  • Removes the parallel-run-sensitive round-trip theory.
  • Adds LOH mode checks and corrects an expected-mode diagnostic.
File Description
lohcompactapi2.cs Adds compaction-mode validation.
GCTests.cs Removes the flaky round-trip test.

Comment thread src/tests/GC/Features/LOHCompaction/lohcompactapi2.cs
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @anicka-net, @dotnet/gc
See info in area-owners.md if you want to be subscribed.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Tests.GCTests.LargeObjectHeapCompactionModeRoundTrips test failure

2 participants