Tim Armstrong has uploaded a new change for review. http://gerrit.cloudera.org:8080/7596
Change subject: IMPALA-5031: unsafe random number generation in buffer-pool-test ...................................................................... IMPALA-5031: unsafe random number generation in buffer-pool-test The bug is that ConcurrentRegistration shares one random number generator between all the threads. This isn't safe and UBSAN was unhappy with it. The fix is to create one RNG per thread. We already do that in a different test so the code is factored out into a utility function. Change-Id: I0eb3bec152a58d9ec39413780cb2c431dd8d4fa8 --- M be/src/runtime/bufferpool/buffer-pool-test.cc M be/src/testutil/rand-util.h 2 files changed, 21 insertions(+), 10 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/96/7596/1 -- To view, visit http://gerrit.cloudera.org:8080/7596 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0eb3bec152a58d9ec39413780cb2c431dd8d4fa8 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong <[email protected]>
