Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eagerly establish test transactions for shards #40368

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

eugeneius
Copy link
Member

Previously when a sharded model was autoloaded during a test, every shard's test transaction was opened on the default shard's connection, which meant that other shards' data leaked into subsequent tests.

Previously when a sharded model was autoloaded during a test, every
shard's test transaction was opened on the default shard's connection,
which meant that other shards' data leaked into subsequent tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant