-
Notifications
You must be signed in to change notification settings - Fork 722
Extract instance creation from launch and provide it over RPC #676
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
Conversation
Place instance creation in a separate method that is called when launching, in preparation for an RPC create operation.
Add a `create` "lane" to the RPC protocol, reusing `launch` messages.
Moves instance name derivation and starting into (existing) auxiliary method, to facilitate merging changes in master.
Extend the original client with a basic `create` command, to use in daemon tests. Implement the skeleton of said command, with the goal of using it as the test interface to the corresponding RPC method. Test whether `create` is called (still failing).
Fills in overridden `run` method in TestCreate command. Fixes corresponding request and reply types.
Makes failing test pass.
Codecov Report
@@ Coverage Diff @@
## master #676 +/- ##
==========================================
- Coverage 66.39% 66.34% -0.05%
==========================================
Files 165 166 +1
Lines 5912 5927 +15
==========================================
+ Hits 3925 3932 +7
- Misses 1987 1995 +8
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #676 +/- ##
==========================================
- Coverage 66.64% 66.59% -0.06%
==========================================
Files 167 168 +1
Lines 5928 5943 +15
==========================================
+ Hits 3951 3958 +7
- Misses 1977 1985 +8
Continue to review full report at Codecov.
|
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.
Looks ok overall. Just a couple of comments.
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.
bors r+
Build failed |
Sorry, got confused with |
Reissue of #663
This can be merged presently. Client side to come separately.