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

vdk-core: test ingestion with multiple threads #2796

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

antoniivanov
Copy link
Collaborator

The IIngester methods (send_xxx_for_ingestion) should allow being called from multiple threads. But it's never explicitly tested. This test is far from perfect. Testing something is thread safe is not very easy.

But it's good to have it because

A) it's an indication of this thread-safe contract for future developers
B) If there is some serious regression this should catch it even if it doesn't catch some more subtle regressions.

The IIngester methods (send_xxx_for_ingestion) should allow being called
from multiple threads. But it's never explicitly tested. This test is
far from perfect. Testing something is thread safe is not very easy. But
it's good to have it because A) it's indication of a contract for future
developers B) it's some verification still.
@antoniivanov antoniivanov merged commit e17ead2 into main Oct 19, 2023
8 of 9 checks passed
@antoniivanov antoniivanov deleted the person/aivanov/vdk-core-ingest branch October 19, 2023 14:59
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

3 participants