diff options
author | Zach Koopmans <zkoopmans@google.com> | 2019-01-10 09:43:43 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-01-10 09:44:45 -0800 |
commit | 7f8de3bf92decbd745a4bc4e8aebf1ba1159ed4b (patch) | |
tree | c667c9bd31a29cec2ddce86ef0b6128fee2defc2 /test/util/BUILD | |
parent | 9270d940eb1a6e31587c34f4644189f3b2c002e1 (diff) |
Fixing select call to not enforce RLIMIT_NOFILE.
Removing check to RLIMIT_NOFILE in select call.
Adding unit test to select suite to document behavior.
Moving setrlimit class from mlock to a util file for reuse.
Fixing flaky test based on comments from Jamie.
PiperOrigin-RevId: 228726131
Change-Id: Ie9dbe970bbf835ba2cca6e17eec7c2ee6fadf459
Diffstat (limited to 'test/util/BUILD')
-rw-r--r-- | test/util/BUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/util/BUILD b/test/util/BUILD index 10507eae4..6316fec6e 100644 --- a/test/util/BUILD +++ b/test/util/BUILD @@ -272,3 +272,16 @@ cc_library( "@com_google_googletest//:gtest", ], ) + +cc_library( + name = "rlimit_util", + testonly = 1, + srcs = ["rlimit_util.cc"], + hdrs = ["rlimit_util.h"], + deps = [ + ":cleanup", + ":logging", + ":posix_error", + ":test_util", + ], +) |