Skip to content

Commit

Permalink
tests: allow 4 MiB RSS
Browse files Browse the repository at this point in the history
glibc keeps getting bigger.

Fixes #296
  • Loading branch information
rfjakob committed Sep 18, 2023
1 parent e05fa9e commit dc86399
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testsuite_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ func parseMeminfo() (memTotal int64, swapTotal int64) {
// earlyoom RSS should never be above 1 MiB,
// but on some systems, it is (due to glibc?).
// https://github.com/rfjakob/earlyoom/issues/221
const rssMaxKiB = 2048
// https://github.com/rfjakob/earlyoom/issues/296
const rssMaxKiB = 4096

func TestCli(t *testing.T) {
memTotal, swapTotal := parseMeminfo()
Expand Down

0 comments on commit dc86399

Please sign in to comment.