Skip to content

Conversation

@pjenvey
Copy link
Member

@pjenvey pjenvey commented Jan 7, 2026

due to _switch_user picking up old test data

Testing

This might slow down test_users_with_the_same_batch_id_get_separate_data (which is already slow, according to circleci Test Insights, taking up to 90 seconds at least on uuid based batch id spanner/postgres backends).

I might log a separate issue to disable this test entirely on those backends, especially if this change adds a significant slowdown, since they shouldn't be generating same batch ids anyway

Issue(s)

Closes STOR-415

@pjenvey pjenvey requested review from chenba and taddes January 7, 2026 20:53
due to _switch_user picking up old test data

Closes STOR-415
@pjenvey pjenvey force-pushed the test/same_batch_id-flake-STOR-415 branch from 64c552d to 07f2b9e Compare January 7, 2026 20:54
Copy link
Collaborator

@taddes taddes left a comment

Choose a reason for hiding this comment

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

We'll just get a good idea of how long it takes now with this change. I have to refresh my memory a bit with some of pytest's fixture setup/teardown configs as I know there are ways to make those processes more efficient between test runs.

@pjenvey
Copy link
Member Author

pjenvey commented Jan 8, 2026

Still only took about 90 seconds in this PR's run

@pjenvey pjenvey merged commit 01edad7 into master Jan 8, 2026
16 checks passed
@pjenvey pjenvey deleted the test/same_batch_id-flake-STOR-415 branch January 8, 2026 19: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.

3 participants