This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new f8e57b513 [test_util] report random seed only with verbose logging
f8e57b513 is described below
commit f8e57b5131bae879e537595893269dcd2c52c7d9
Author: Alexey Serbin <[email protected]>
AuthorDate: Fri Jan 23 11:15:44 2026 -0800
[test_util] report random seed only with verbose logging
Usually, it's not important to know the exact seed used to initialize
a random engine, and logging about that every time just pollutes test
output. This patch changes LOG(INFO) to VLOG(1) for SeedRandom().
Change-Id: I148fdbdda5ddc7750ca7ea9fdaedd0e93875394f
Reviewed-on: http://gerrit.cloudera.org:8080/23899
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Zoltan Martonka <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>
---
src/kudu/util/test_util.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kudu/util/test_util.cc b/src/kudu/util/test_util.cc
index 84a644655..bd1c1d361 100644
--- a/src/kudu/util/test_util.cc
+++ b/src/kudu/util/test_util.cc
@@ -273,7 +273,7 @@ int SeedRandom() {
} else {
seed = FLAGS_test_random_seed;
}
- LOG(INFO) << "Using random seed: " << seed;
+ VLOG(1) << "Using random seed: " << seed;
srand(seed);
return seed;
}