Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix/database/sub_repo_perms: don't mark TestSubRepoPermsStore_GetByUserWithIPs as Parallel#63958

Merged
ggilmore merged 1 commit into
mainfrom
graphite-ggilmorefix_database_sub_repo_perms_don_t_mark_as_testsubrepopermsstore_getbyuserwithips
Jul 19, 2024
Merged

fix/database/sub_repo_perms: don't mark TestSubRepoPermsStore_GetByUserWithIPs as Parallel#63958
ggilmore merged 1 commit into
mainfrom
graphite-ggilmorefix_database_sub_repo_perms_don_t_mark_as_testsubrepopermsstore_getbyuserwithips

Conversation

@ggilmore

@ggilmore ggilmore commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

See https://sourcegraph.slack.com/archives/C03K05FCRFH/p1721387628038419

We'll see if this fixes the race condition?

I believe multiple tests are setting the mock configuration object via conf.mock - so hopefully removing the t.Parallel() call fixes the issue.

Test plan

CI passes

Changelog

  • A race condition in the sub_repo_permissions database store test suite has been fixed.

@cla-bot cla-bot Bot added the cla-signed label Jul 19, 2024

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ggilmore and the rest of your teammates on Graphite Graphite

@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Jul 19, 2024
@ggilmore ggilmore requested a review from a team July 19, 2024 20:39
@ggilmore ggilmore marked this pull request as ready for review July 19, 2024 20:39
@ggilmore ggilmore changed the title fix/database/sub_repo_perms: don't mark as TestSubRepoPermsStore_GetByUserWithIPs fix/database/sub_repo_perms: don't mark TestSubRepoPermsStore_GetByUserWithIPs as Parallel Jul 19, 2024
@ggilmore ggilmore merged commit 7a16ccf into main Jul 19, 2024
@ggilmore ggilmore deleted the graphite-ggilmorefix_database_sub_repo_perms_don_t_mark_as_testsubrepopermsstore_getbyuserwithips branch July 19, 2024 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants