Skip to content

Exclude ResolvedFromDifferentContext collectible-unload test from GC stress#130528

Draft
elinor-fung with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-loader-collectibleassemblies-test
Draft

Exclude ResolvedFromDifferentContext collectible-unload test from GC stress#130528
elinor-fung with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-loader-collectibleassemblies-test

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Loader/CollectibleAssemblies/ResolvedFromDifferentContext fails intermittently under GC stress. TestFullUnload polls a fixed number of GC iterations to confirm collectible AssemblyLoadContexts have unloaded; GC stress perturbs timing so collection doesn't complete in that window, yielding a spurious Failed to unload alc1 (exit code 103).

Changes

  • Add <GCStressIncompatible>true</GCStressIncompatible> to ResolvedFromDifferentContext.csproj, matching the sibling AssemblyOnDisk collectible-unload test which excludes GC stress for the same reason.

Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot July 10, 2026 21:21
Copilot AI changed the title [WIP] Fix test failure in Loader/CollectibleAssemblies Exclude ResolvedFromDifferentContext collectible-unload test from GC stress Jul 10, 2026
Copilot AI requested a review from elinor-fung July 10, 2026 21:22
@github-actions github-actions Bot added the area-AssemblyLoader-coreclr only use for closed issues label Jul 10, 2026
Copilot AI temporarily deployed to copilot-pat-pool July 11, 2026 00:44 Inactive
Copilot AI temporarily deployed to copilot-pat-pool July 11, 2026 00:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-AssemblyLoader-coreclr only use for closed issues

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Test failure: Loader/CollectibleAssemblies/ResolvedFromDifferentContext/ResolvedFromDifferentContext/ResolvedFromDifferentContext.cmd

2 participants