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

Refactor tests to run in parallel #1253

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

jieguangzhou
Copy link
Collaborator

Description

#671

Related Issues

Checklist

  • Is this code covered by new or existing unit tests or integration tests?
  • Did you run make test successfully?
  • Do new classes, functions, methods and parameters all have docstrings?
  • Were existing docstrings updated, if necessary?
  • Was external documentation updated, if necessary?

Additional Notes or Comments

@jieguangzhou jieguangzhou linked an issue Nov 7, 2023 that may be closed by this pull request
3 tasks
@jieguangzhou jieguangzhou self-assigned this Nov 7, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

Attention: 48 lines in your changes are missing coverage. Please review.

Comparison is base (34830a7) 80.33% compared to head (b1e6a43) 80.70%.
Report is 25 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1253      +/-   ##
==========================================
+ Coverage   80.33%   80.70%   +0.36%     
==========================================
  Files          95       97       +2     
  Lines        6602     6691      +89     
==========================================
+ Hits         5304     5400      +96     
+ Misses       1298     1291       -7     
Files Coverage Δ
superduperdb/__init__.py 100.00% <100.00%> (ø)
superduperdb/base/artifact.py 94.87% <100.00%> (+0.20%) ⬆️
superduperdb/base/config.py 100.00% <100.00%> (ø)
superduperdb/base/datalayer.py 71.40% <100.00%> (+3.23%) ⬆️
superduperdb/components/model.py 93.66% <100.00%> (+11.00%) ⬆️
superduperdb/ext/openai/model.py 96.09% <ø> (+0.64%) ⬆️
superduperdb/ext/torch/model.py 76.80% <ø> (ø)
superduperdb/misc/serialization.py 85.86% <100.00%> (+0.92%) ⬆️
superduperdb/misc/superduper.py 76.25% <ø> (ø)
superduperdb/vector_search/lance.py 88.88% <100.00%> (+11.53%) ⬆️
... and 5 more

... and 9 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jieguangzhou jieguangzhou requested review from blythed, thejumpman2323 and fnikolai and removed request for blythed and thejumpman2323 November 7, 2023 15:29
@@ -58,6 +58,11 @@ def test_taskgraph_futures_with_dask(


@pytest.mark.skipif(not torch, reason='Torch not installed')
@pytest.mark.parametrize(
'local_dask_client, test_db',
[('test_insert_with_dask', 'test_insert_with_dask')],
Copy link
Contributor

Choose a reason for hiding this comment

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

(test_insert_with_distributed, test_insert_with_non_distributed)

Copy link
Collaborator Author

@jieguangzhou jieguangzhou Nov 8, 2023

Choose a reason for hiding this comment

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

I think we should use the same database name here, right?

test/unittest/vector_search/test_vector_search.py Outdated Show resolved Hide resolved
test/unittest/vector_search/test_vector_search.py Outdated Show resolved Hide resolved
@jieguangzhou jieguangzhou force-pushed the test/parallel branch 2 times, most recently from bbe7087 to 69afa6a Compare November 9, 2023 13:43
@jieguangzhou jieguangzhou merged commit dc73752 into superduper-io:main Nov 10, 2023
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.

Modular tests: Refactor tests to run in parallel
4 participants