Skip to content

Fix intermittent failure in ContainerManager testMissesNotCachedInTransaction - #8271

Merged
labkey-adam merged 3 commits into
release26.11-SNAPSHOTfrom
26.11_fb_container_miss_test_race
Nov 3, 2026
Merged

labkey-adam merged 3 commits into
release26.11-SNAPSHOTfrom
26.11_fb_container_miss_test_race

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Nov 2, 2026 •

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

Changes

  • Check in-transaction miss caching against a RowId and 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 labkey-adam self-assigned this Nov 3, 2026
@labkey-adam labkey-adam added this to the 26.11 milestone Nov 3, 2026
@labkey-adam
labkey-adam merged commit b7a2cc8 into release26.11-SNAPSHOT Nov 3, 2026
8 checks passed
@labkey-adam
labkey-adam deleted the 26.11_fb_container_miss_test_race branch November 3, 2026 22:42
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.

2 participants