Alexey Serbin has uploaded this change for review. ( 
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
---
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, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/10/24810/1
--
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: newchange
Gerrit-Change-Id: I237b7fe64c0798a499d54b25f9cfebd22e5f038b
Gerrit-Change-Number: 24810
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to