[UT] Fix env-test resource limit overflow

Fix the test failure as following:
[ RUN      ] ResourceLimitTypes/ResourceLimitTypeTest.TestIncreaseLimit/1
I0406 23:56:52.783593 1668634 env_posix.cc:2174] Raising this process' running threads per effective uid limit from 4096 to 18446744073709551615
.../kudu/src/kudu/util/env-test.cc:690: Failure
Expected: (limit_after) >= (limit_before), actual: -1 vs 4096
I0406 23:56:52.784036 1668634 test_util.cc:164] -----------------------------------------------
I0406 23:56:52.784056 1668634 test_util.cc:165] Had fatal failures, leaving test files at .../env-test.ResourceLimitTypes_ResourceLimitTypeTest.TestIncreaseLimit_1.1649260612778581-1668634-0
[  FAILED  ] ResourceLimitTypes/ResourceLimitTypeTest.TestIncreaseLimit/1, where GetParam() = running threads per effective uid (2 ms)

Change-Id: Ic919722ca0f7eab00baf8e7514b1c1bd1e1b86e9
Reviewed-on: http://gerrit.cloudera.org:8080/18388
Tested-by: Alexey Serbin <alexey@apache.org>
Reviewed-by: Alexey Serbin <alexey@apache.org>
1 file changed