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

c/partition_allocator: fix bench test #17802

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Apr 11, 2024

Bench test is called many times, but register_node will throw if the node is registered the second time. Modify bench tests so that they register nodes only once at the beginning.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

  • none

Bench test is called many times, but register_node will throw if the
node is registered the second time. Modify bench tests so that they
register nodes only once at the beginning.
@ztlpn ztlpn merged commit c7ef958 into redpanda-data:dev Apr 11, 2024
18 checks passed
@ztlpn ztlpn deleted the fix-allocator-bench branch April 19, 2024 09:55
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.

None yet

2 participants