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

Don't run Runtime#halt in tests #7066

Merged
merged 1 commit into from
May 28, 2020
Merged

Conversation

merlimat
Copy link
Contributor

Motivation

When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.
@merlimat merlimat merged commit bb7f47f into apache:master May 28, 2020
@merlimat merlimat deleted the pr-d56e0dadfe branch May 28, 2020 17:21
315157973 pushed a commit to 315157973/pulsar that referenced this pull request May 29, 2020
When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

Co-authored-by: Ivan Kelly <ikelly@splunk.com>
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 1, 2020
When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

Co-authored-by: Ivan Kelly <ikelly@splunk.com>
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 1, 2020
When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

Co-authored-by: Ivan Kelly <ikelly@splunk.com>
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this pull request Jun 12, 2020
When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

Co-authored-by: Ivan Kelly <ikelly@splunk.com>
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
When you trigger Runtime#halt from a test, as was happening on ZK
session loss, it kills the test without reporting a result. We
shouldn't do that. Instead, reserve halt for production code, and just
log for tests.

Co-authored-by: Ivan Kelly <ikelly@splunk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants