Skip to content

Issue 52277: SNDTest.testSuperPackageApis fails with DB deadlock#974

Merged
labkey-jeckels merged 2 commits intorelease24.11-SNAPSHOTfrom
24.11_fb_52277_sndTestDeadlock
Jun 26, 2025
Merged

Issue 52277: SNDTest.testSuperPackageApis fails with DB deadlock#974
labkey-jeckels merged 2 commits intorelease24.11-SNAPSHOTfrom
24.11_fb_52277_sndTestDeadlock

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

This test is failing intermittently but regularly. It's a SQLServer deadlock between loading the schema browser and doing the import. We can sidestep it by waiting for the query dependency analysis to complete before hitting the APIs.

Changes

  • Wait for the Dependency Report
  • Just reload the page instead of going back through the schema browser after each change
  • Minor cleanup

@github-actions
Copy link

ERROR: A pull request from 24.11_fb_52277_sndTestDeadlock is expected to target release24.11-SNAPSHOT, not develop

@labkey-jeckels labkey-jeckels changed the base branch from develop to release24.11-SNAPSHOT June 24, 2025 23:29

checkExpectedErrors(1);
resetErrors();
// checkExpectedErrors(1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe remove this commented line? Or add a comment as to why it is commented out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the reminder to revert that edit. I had to do that hack to run the test locally but didn't intend to push it.

@labkey-jeckels labkey-jeckels merged commit 90b0d4e into release24.11-SNAPSHOT Jun 26, 2025
7 checks passed
@labkey-jeckels labkey-jeckels deleted the 24.11_fb_52277_sndTestDeadlock branch June 26, 2025 03:52
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