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

Stop all locally running nodes #883

Merged

Conversation

danielmitterdorfer
Copy link
Member

When starting multiple nodes on one machine, Rally only stopped the
first node. With this commit we actually stop all nodes.

When starting multiple nodes on one machine, Rally only stopped the
first node. With this commit we actually stop all nodes.
@danielmitterdorfer danielmitterdorfer added bug Something's wrong :Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch labels Jan 29, 2020
@danielmitterdorfer danielmitterdorfer added this to the 1.4.1 milestone Jan 29, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Jan 29, 2020
data_paths="/tmp")
node_configs = [NodeConfiguration(build_type="tar", car_env={}, car_runtime_jdks="12,11", ip="127.0.0.1",
node_name="testnode-{}".format(n), node_root_path="/tmp", binary_path="/tmp",
data_paths="/tmp") for n in range(2)]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would improve readability if we used a regular for-loop here instead of a list comprehension.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks! I changed it in 51c0df6.

Copy link
Contributor

@drawlerr drawlerr left a comment

Choose a reason for hiding this comment

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

Approved, with a non-mandatory suggestion for improving readability

@danielmitterdorfer danielmitterdorfer merged commit 39e9015 into elastic:master Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Benchmark Candidate Management Anything affecting how Rally sets up Elasticsearch bug Something's wrong
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants