-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35655/#review88690
-----------------------------------------------------------


I think the main reason is that util.Random.nextString() may include other 
non-ascii chars and hence its toString may not be well-defined:

http://alvinalexander.com/scala/creating-random-strings-in-scala

So I think bottom-line is that we should not use util.Random.nextString to 
generate random strings. There are a couple of other places where it it used 
and I suggest we remove them as well.

- Guozhang Wang


On June 19, 2015, 4:48 p.m., Jason Gustafson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35655/
> -----------------------------------------------------------
> 
> (Updated June 19, 2015, 4:48 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-2271
>     https://issues.apache.org/jira/browse/KAFKA-2271
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> KAFKA-2271; fix minor test bugs
> 
> 
> Diffs
> -----
> 
>   core/src/test/scala/unit/kafka/server/KafkaConfigConfigDefTest.scala 
> 98a5b042a710d3c1064b0379db1d152efc9eabee 
> 
> Diff: https://reviews.apache.org/r/35655/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jason Gustafson
> 
>

Reply via email to