Skip to content

Fix intermittent failure in ContainerManager testMissesNotCachedInTransaction - #8268

Closed
labkey-adam wants to merge 1 commit into
developfrom
fb_container_miss_test_race
Closed

labkey-adam wants to merge 1 commit into
developfrom
fb_container_miss_test_race

Conversation

@labkey-adam

Copy link
Copy Markdown
Contributor

Rationale

Fix an intermittent failure in ContainerManager$TestCase.testMissesNotCachedInTransaction. The test asserted that the deleted container's EntityId had no cached miss after an in-transaction lookup, but search indexing work queued when the container was created can look up that EntityId on another thread after the delete commits and correctly cache the miss.

Related Pull Requests

  • None

Changes

  • Check in-transaction miss caching against an EntityId no background work can know about

…nsaction

Background search work queued when the test container is created can look up its EntityId after the delete and legitimately cache the miss, so the test now looks up an unused GUID.
@labkey-adam

Copy link
Copy Markdown
Contributor Author

Superseded by #8271, which targets release26.11-SNAPSHOT; the fix reaches develop via the release merge-forward.

@labkey-adam labkey-adam closed this Nov 2, 2026
@labkey-adam
labkey-adam deleted the fb_container_miss_test_race branch November 2, 2026 18:57
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.

1 participant