diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-10-17 09:01:42 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-17 09:03:01 -0700 |
commit | 4fae756645cf11a9f8bae87dd845d82dce5e428e (patch) | |
tree | 4a60ef15548daf2c93b0cb9c231ca151521fa29e /runsc/cgroup/BUILD | |
parent | fb4629277839495ef42ad6af13d1823d79a3e6c0 (diff) |
Make removing cgroups retry up to 5 seconds.
Sometimes if we try to remove the cgroup directory too soon after killing the
sandbox we EBUSY. This CL adds a retry (up to 5 seconds) for removing.
Deflakes ChrootTest.
PiperOrigin-RevId: 217526909
Change-Id: I749bb172117e2298c9888ecad094072393b94810
Diffstat (limited to 'runsc/cgroup/BUILD')
-rw-r--r-- | runsc/cgroup/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/cgroup/BUILD b/runsc/cgroup/BUILD index 4a535d230..10a8e5feb 100644 --- a/runsc/cgroup/BUILD +++ b/runsc/cgroup/BUILD @@ -12,6 +12,7 @@ go_library( deps = [ "//pkg/log", "//runsc/specutils", + "@com_github_cenkalti_backoff//:go_default_library", "@com_github_opencontainers_runtime-spec//specs-go:go_default_library", ], ) |