> So, if each thread gets the same seed, then they should also get the same 
> random values, right ?

They would start from the same seed so if they're calling that Random
in the same pattern then yes -- they'd get the same values. Any real
randomness will be non-reproducible. If this is needed for a test (and
you know it won't be a problem if the test doesn't reproduce) then you
could just do new Random() instead of calling LuceneTestCase's
generator.

D.

Reply via email to