summaryrefslogtreecommitdiffhomepage
path: root/pkg/metric/metric_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-03-25 15:38:38 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-25 15:58:45 -0700
commit5f03dca5227e4f2e7aa472ad40d421d4623c9f72 (patch)
treebfcb253aa5145321ff1b966093bdf1577502b626 /pkg/metric/metric_test.go
parentf2eba940159b4ed55359f99a3422ad899a8647ee (diff)
Fix race in TestRunEnvHasHome
It's possible to execute the command that checks user's $HOME dir before the user is created. Move the code that creates the user inside exec so it can be serialized. PiperOrigin-RevId: 302986184
Diffstat (limited to 'pkg/metric/metric_test.go')
0 files changed, 0 insertions, 0 deletions