Skip to content

Commit

Permalink
Merge pull request #21431 from oleiman/etc/noticket/self-test-result-…
Browse files Browse the repository at this point in the history
…layout

c/st: self_test_result rpc: move {start,end}_time to end of layout
  • Loading branch information
michael-redpanda authored Jul 19, 2024
2 parents 080ac33 + 3c38672 commit a80e0de
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/v/cluster/self_test_rpc_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ struct cloudcheck_opts

struct self_test_result
: serde::
envelope<self_test_result, serde::version<1>, serde::compat_version<1>> {
envelope<self_test_result, serde::version<1>, serde::compat_version<0>> {
double p50{0};
double p90{0};
double p99{0};
Expand Down Expand Up @@ -289,6 +289,27 @@ struct self_test_result
r.error ? *r.error : "<no_value>");
return o;
}

auto serde_fields() {
return std::tie(
p50,
p90,
p99,
p999,
max,
rps,
bps,
timeouts,
test_id,
name,
info,
test_type,
duration,
warning,
error,
start_time,
end_time);
}
};

struct empty_request
Expand Down

0 comments on commit a80e0de

Please sign in to comment.