summaryrefslogtreecommitdiffhomepage
path: root/pkg/state
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2020-12-02 19:09:17 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-02 19:14:51 -0800
commit8b692f593103d24d1de0d85ef89ec5b3f3e9cd5a (patch)
tree0a2a654e03189c9bf45d2bf7e4cf78a42a8c80a6 /pkg/state
parented8bdf461b5f8093957a11f526032d42938af7ca (diff)
Make testutil.RandomID safe for concurrent uses
testutil.RandomID was using Rand.Read which is not safe for concurrent use. It caused name conflicts in packetimpact tests when they are run in parallel. Adding a mutex to protect the Rand.Read operation. PiperOrigin-RevId: 345360062
Diffstat (limited to 'pkg/state')
0 files changed, 0 insertions, 0 deletions