19889: Give sensitive test a prand sequence that passes.
authorTom Clegg <tom@curii.com>
Wed, 22 Mar 2023 06:41:55 +0000 (02:41 -0400)
committerTom Clegg <tom@curii.com>
Wed, 22 Mar 2023 17:57:23 +0000 (13:57 -0400)
commit3a3416eaaf459d7dcaa5ee6ce21e26f60ca42b0b
treef2456be12608000fde0e142134143efdb35d83e1
parentac077775e10886db490ab7331826a678aa946fc9
19889: Give sensitive test a prand sequence that passes.

The previous version of the test relied on test input data,
superficially random but generated the same way each run using the
default-seeded global prand generator, that happens to avoid a bug
that would fail the test.

This change doesn't address the bug, it only fixes the problem of the
test starting to fail when something changes the pseudorandom input,
e.g., another unrelated module uses the math/rand package.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/controller/localdb/container_test.go