diff options
author | Ting-Yu Wang <anivia@google.com> | 2020-02-06 17:06:14 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-06 17:07:07 -0800 |
commit | 386a1a1564e57c36726ea5a45d6e4f739847a658 (patch) | |
tree | 2d78081ec4293ab57dfd99c3cefab1bf3272f912 /pkg/sentry/kernel/auth/id.go | |
parent | 3700221b1f3ff0779a0f4479fd2bafa3312d5a23 (diff) |
Fix TestPauseResume in container test failed with connection refused.
Sometimes we get this error under TSAN:
"""
error getting process data from container: connecting to control server at PID
XXXX: connection refused
"""
The theory is that the top "sleep 20" was too short for TSAN, and the container
already exited, so we get connected refused. This commit changes the test to
let container signaling it's running by touching a file repeatedly forever
during the test.
PiperOrigin-RevId: 293710957
Diffstat (limited to 'pkg/sentry/kernel/auth/id.go')
0 files changed, 0 insertions, 0 deletions