diff options
author | Rahat Mahmood <rahat@google.com> | 2018-12-13 14:24:00 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-13 14:24:51 -0800 |
commit | a0c8aeb73d76e5d22af3bd8012c05f307ca449c7 (patch) | |
tree | f5f1c253b24460802e3509da837c97f3a3947283 /runsc | |
parent | 4659f7ed1a63f031b5450d065684ef6c32d35f01 (diff) |
Clean up shm segments created by shm_test.
This test suite was creating shm segments without ensuring they were
cleaned up. Shm segments outlive the process creating them, so on a
standard linux machine the test was leaving segments behind after each
run. This would often cause failures as test cases would be affected
by the cases that ran before them and left unexpected segments lying
around.
Also skip some assertions around memory usage when running on a Linux
host, as we can't reason about external users of shm segments.
PiperOrigin-RevId: 225435523
Change-Id: Ia299dacf59045002436f5e30dcc131f679bb7272
Diffstat (limited to 'runsc')
0 files changed, 0 insertions, 0 deletions