-
Notifications
You must be signed in to change notification settings - Fork 593
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
tests: base id_allocator_stm_test on raft_fixture #18280
tests: base id_allocator_stm_test on raft_fixture #18280
Conversation
|
d7384e8
to
99e6fb3
Compare
/dt |
new failures in https://buildkite.com/redpanda/redpanda/builds/48781#018f5321-3a78-4f3b-bff9-39c2cde069f9:
new failures in https://buildkite.com/redpanda/redpanda/builds/48781#018f5321-3a7b-4cfd-9c75-6d5034936b4e:
new failures in https://buildkite.com/redpanda/redpanda/builds/48785#018f53ac-e129-45cd-9289-ca08a4148165:
new failures in https://buildkite.com/redpanda/redpanda/builds/48785#018f53ac-e12b-4b20-abc4-b058a93fd550:
new failures in https://buildkite.com/redpanda/redpanda/builds/48785#018f53b4-5ca1-42cb-91e9-a26772408edf:
new failures in https://buildkite.com/redpanda/redpanda/builds/48785#018f53b4-5c9e-47e3-a864-30539aba47d1:
new failures in https://buildkite.com/redpanda/redpanda/builds/48790#018f546e-fb22-4cfc-a890-870a1be691d5:
new failures in https://buildkite.com/redpanda/redpanda/builds/48790#018f546e-fb25-44ba-b41f-651f4c271305:
new failures in https://buildkite.com/redpanda/redpanda/builds/48790#018f5477-0213-4485-a798-528d0b161800:
new failures in https://buildkite.com/redpanda/redpanda/builds/48790#018f5477-0211-4845-962e-a455dc9bb27c:
new failures in https://buildkite.com/redpanda/redpanda/builds/48821#018f580d-990c-4364-b52b-9c1def0728a5:
new failures in https://buildkite.com/redpanda/redpanda/builds/48821#018f580d-990e-4db0-9472-86a3281e650f:
new failures in https://buildkite.com/redpanda/redpanda/builds/48821#018f5816-13e7-4169-933f-2b88b423ba97:
new failures in https://buildkite.com/redpanda/redpanda/builds/48829#018f58b7-b256-4786-97d0-4f0dc8f6935d:
new failures in https://buildkite.com/redpanda/redpanda/builds/48829#018f58b7-b259-4b8a-9bfa-f63789ae43db:
new failures in https://buildkite.com/redpanda/redpanda/builds/48829#018f58c0-8896-49c9-881a-9dfadd6b51d9:
new failures in https://buildkite.com/redpanda/redpanda/builds/48829#018f58c0-8893-40b6-a328-f6786a5d361b:
|
99e6fb3
to
d946a43
Compare
/dt |
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.
couple of nits, lgtm otherwise.
d946a43
to
603b0c6
Compare
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/48821#018f580d-990e-4db0-9472-86a3281e650f ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/48858#018f5ad9-f995-46fd-93ae-dbebbdb385eb ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/48858#018f5ad9-f98f-4bf2-9bab-b1c4406df1c5 |
603b0c6
to
950e8dc
Compare
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.
lgtm only pending comment about vassert()
e04b9b6
to
df78f41
Compare
@bharathv I removed all vasserts, thanks for the suggestions |
808a1fb
to
1f23b86
Compare
Support std::error_code, raft::errc, cluster::errc and bool, both individually and as part of a result<..., ...>
That's mostly for later use in raft_fixture::retry_with_leader
As part of deprecating simple_raft_fixture in favour of raft_fixture, making id_allocator_stm_test to use the latter.
1f23b86
to
3821433
Compare
@mmaslankaprv I have reworked the PR to allow use of plain |
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.
lgtm
As part of deprecating
simple_raft_fixture
in favour of raft_fixture, makingid_allocator_stm_test
to use the latter. For compatibility withraft_fixture::retry_with_leader
I had to changeid_allocator_stm
return type toresult
. I had to improveraft_fixture::retry_with_leader
to accept more data types too. I also created some test helper macros, they are only used occasionally here but will get more use in my next PR(s).Backports Required
Release Notes