Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24810 )
Change subject: [tests] don't set stddev to 0 for normal distribution ...................................................................... [tests] don't set stddev to 0 for normal distribution In libstdc++ that comes with GCC 15.2 on Ubuntu 26.04 LTS, setting the standard deviation argument to 0 for std::normal_distribution() leads to runtime assertions like below: /usr/include/c++/15/bits/random.h:2138: std::normal_distribution<_RealType>::param_type::param_type(_RealType, _RealType) [with _RealType = double]: Assertion '_M_stddev > _RealType(0)' failed. This changelist addresses the issue. Change-Id: I237b7fe64c0798a499d54b25f9cfebd22e5f038b Reviewed-on: http://gerrit.cloudera.org:8080/24810 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Zoltan Martonka <[email protected]> --- M src/kudu/client/client-test.cc M src/kudu/integration-tests/raft_consensus_election-itest.cc M src/kudu/integration-tests/same_tablet_concurrent_writes-itest.cc 3 files changed, 5 insertions(+), 4 deletions(-) Approvals: Alexey Serbin: Verified Zoltan Martonka: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/24810 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I237b7fe64c0798a499d54b25f9cfebd22e5f038b Gerrit-Change-Number: 24810 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Marton Greber <[email protected]> Gerrit-Reviewer: Zoltan Martonka <[email protected]>
