-
Notifications
You must be signed in to change notification settings - Fork 37
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 functionality for cluster.kill
.
#1588
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
process (str): Process to kill. | ||
|
||
Example: | ||
>>> rh.cluster("rh-cpu").kill("ray") |
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.
nit - maybe use a diff string (that's not also a package) for the example?
@@ -1228,3 +1228,14 @@ def test_cluster_run_bash_in_process(self, cluster): | |||
res = cluster.run_bash("echo hello", process=process) | |||
assert res[0][0] == 0 | |||
assert res[0][1].strip() == "hello" | |||
|
|||
@pytest.mark.level("local") | |||
@pytest.mark.clustertest |
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.
there's 2 existing tests in test_cluster depending on this feature that I marked as skip - can you address those too? either update or remove them if this test covers it (marked with @pytest.mark.skip("pending cluster.kill functionality")
)
26b26e1
to
3ada528
Compare
No description provided.