Skip to content

DockerRStudioTest.testDataRegionExport failure - #3155

Merged
cnathe merged 2 commits into
developfrom
fb_dockerRStudioTestFix
Aug 19, 2026
Merged

DockerRStudioTest.testDataRegionExport failure#3155
cnathe merged 2 commits into
developfrom
fb_dockerRStudioTestFix

Conversation

@cnathe

@cnathe cnathe commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Rationale

Site logs are showing errors for deadlocks in this test when it it trying to index the samples in a sample type while the test is trying to delete the sample type. These errors are logged but the delete retries and eventually succeeds (and the search index handles already deleted samples) so the result here is as expected. This PR attempts to prevent the error logging by adding a wait for the search indexer to complete before deleting the sample type.

Related Pull Requests

Changes

  • Add call to SearchAdminAPIHelper.waitForIndexer() before dropping domains

@cnathe
cnathe marked this pull request as ready for review August 18, 2026 15:04
@cnathe
cnathe requested a review from labkey-tchad August 18, 2026 15:05

@labkey-tchad labkey-tchad left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the two second sleep necessary, or just a belt and suspenders situation?

@cnathe

cnathe commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

Is the two second sleep necessary, or just a belt and suspenders situation?

just belt and suspenders. I didn't want to go through too many iterations for this failure since it was clearly a timing issue and a race condition that was resulting in log errors but not functional issues.

@cnathe
cnathe merged commit e1b8005 into develop Aug 19, 2026
7 of 8 checks passed
@cnathe
cnathe deleted the fb_dockerRStudioTestFix branch August 19, 2026 13:33
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