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

Add concurrency test #806

Merged
merged 2 commits into from May 18, 2024
Merged

Add concurrency test #806

merged 2 commits into from May 18, 2024

Conversation

Jamstah
Copy link
Contributor

@Jamstah Jamstah commented Mar 12, 2024

Add a concurrency test that covers the root cause for #799

def save(self, job, guid, data, timestamp, tries, etag=None):
# Timestamp, tries and ETag are always ignored
Copy link
Owner

Choose a reason for hiding this comment

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

Is this an unrelated change that fixes another error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was missing in the file cache storage as its deprecated, but I was using it to test if minidb was the cause of the threading issues.

@Jamstah Jamstah changed the title Move cache load outside of parallelism Add concurrency test May 5, 2024
@Jamstah
Copy link
Contributor Author

Jamstah commented May 5, 2024

@thp Not sure if this one is still valuable now the minidb bug is fixes, so I've switched it to just add the concurrency test.

Threading was the cause of the issue in thp#779, so adding a test that will
exercise multi-threading.
@thp thp merged commit 8af9a1b into thp:master May 18, 2024
5 checks passed
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