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

Fix failing tests introduced with #202 #204

Merged
merged 1 commit into from
Jan 2, 2022
Merged

Fix failing tests introduced with #202 #204

merged 1 commit into from
Jan 2, 2022

Conversation

suricactus
Copy link
Collaborator

@suricactus suricactus commented Dec 28, 2021

This PR fixes failing false alarm with breaking tests due to cached content type ids.

The worker wrapper caches outdated ContentType ids during tests since it runs in a separate container than the tests, which then the tests.

@suricactus suricactus force-pushed the revert_202 branch 6 times, most recently from 426d000 to d3b6f62 Compare December 28, 2021 13:45
.pre-commit-config.yaml Outdated Show resolved Hide resolved
…e ids

the worker wrapper caches outdated ContentType ids during tests since it
runs in a separate container than the tests, which then the tests.
@suricactus suricactus changed the title WIP Debug tests, reverted #202 Fix failing tests introduced with #202 Jan 2, 2022
@suricactus suricactus merged commit 6bdf268 into master Jan 2, 2022
@suricactus suricactus deleted the revert_202 branch January 2, 2022 23:53
@@ -41,6 +43,11 @@ def handle(self, *args, **options):

while killer.alive:
with use_test_db_if_exists():
# the worker wrapper caches outdated ContentType ids during tests since it runs in a separate
# container than the tests, which then the tests.
Copy link
Member

Choose a reason for hiding this comment

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

This sentence sounds like it has grammar issues.

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.

None yet

2 participants