Commit 482b4b7
committed
testenv: Set ulimit to unlimited instead of a fixed number
Raising the ulimit to a fixed value doesn't work reliably: When we're only
loading a single program it works fine, but the limit is global for the
system, so if something else (e.g., another map or program) is already
loaded, the ulimit requirement is higher.
Rather than trying to guess, just set the memlock ulimit to unlimited.
Fixes #86.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>1 parent 77340a1 commit 482b4b7
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
0 commit comments