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

Disable bullet in unit tests #2825

Merged
merged 1 commit into from
Mar 18, 2019
Merged

Conversation

jmhooper
Copy link
Member

Why: Bullet will auto-detect attributes that are eager loaded but not used. In unit tests that eager load things, but don't use them right away, this causes issues. This commit disables bullet in unit tests so it will only run in feature tests where slow queries are more accurately identified.

**Why**: Bullet will auto-detect attributes that are eager loaded but not used. In unit tests that eager load things, but don't use them right away, this causes issues. This commit disables bullet in unit tests so it will only run in feature tests where slow queries are more accurately identified.
@jmhooper jmhooper merged commit 999dc7c into master Mar 18, 2019
cpbgsa pushed a commit that referenced this pull request Mar 22, 2019
**Why**: Bullet will auto-detect attributes that are eager loaded but not used. In unit tests that eager load things, but don't use them right away, this causes issues. This commit disables bullet in unit tests so it will only run in feature tests where slow queries are more accurately identified.
@amathews-fs amathews-fs deleted the jmhooper-disable-bullet-in-unit-tests branch January 7, 2021 18:50
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.

2 participants