-
Notifications
You must be signed in to change notification settings - Fork 25
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 a bug where a new server is run on object creation #1592
Conversation
Signed-off-by: paul.profizi <[email protected]>
Signed-off-by: paul.profizi <[email protected]>
Signed-off-by: paul.profizi <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1592 +/- ##
==========================================
+ Coverage 80.12% 87.02% +6.90%
==========================================
Files 82 82
Lines 9671 9683 +12
==========================================
+ Hits 7749 8427 +678
+ Misses 1922 1256 -666 |
@@ -299,3 +299,17 @@ def test_mutable_ids_data(server_clayer): | |||
data = None | |||
changed_data = scop.ids | |||
assert np.allclose(changed_data[0], data_copy[0] + 2) | |||
|
|||
|
|||
def test_scoping_dont_start_server(server_type): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we maybe loop over supported types you updated ?
@cbellot000 FYI could not replicate with a |
Creating a Python DPF object based on another Python DPF object triggered a new server instead of using the server of the object given as input.