diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-11-18 16:04:26 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-18 16:06:31 -0800 |
commit | 7158095d687dd9ede3a3fc8da1f4dfbb2ebc176e (patch) | |
tree | f424dfb30dd5950b8b24d61773534583a43ed6d6 /webhook | |
parent | df37babd576ba4607e2fe69eb2c669aa2954b9cb (diff) |
Fix race condition in multi-container wait test
Container is not thread-safe, locking must be done in the caller.
The test was calling Container.Wait() from multiple threads with
no synchronization.
Also removed Container.WaitPID from test because the process might
have already existed when wait is called.
PiperOrigin-RevId: 343176280
Diffstat (limited to 'webhook')
0 files changed, 0 insertions, 0 deletions