gvisor/test/e2e
Fabricio Voznika 33b41d8fe9 Report total memory based on limit or host
gVisor was previously reporting the lower of cgroup limit or 2GB as total
memory. This may cause applications to make bad decisions based on amount
of memory available to them when more than 2GB is required.

This change makes the lower of cgroup limit or the host total memory to be
reported inside the sandbox. This also is more inline with docker which always
reports host total memory. Note that reporting cgroup limit is strictly better
than host total memory when there is a limit set.

Fixes #5608

PiperOrigin-RevId: 403241608
2021-10-14 18:42:07 -07:00
..
BUILD Clean test tags. 2021-04-20 13:11:25 -07:00
exec_test.go Move all tests to new docker API. 2020-07-08 13:26:23 -07:00
integration.go Impose order on test scripts. 2019-09-03 22:02:43 -07:00
integration_test.go Report total memory based on limit or host 2021-10-14 18:42:07 -07:00