Skip to content

Add a 10% fuzz factor to the resident memory calc (intermittent test failure "fixes")#243

Merged
russelldb merged 2 commits into
2.0from
develop-2.2.5
Feb 20, 2018
Merged

Add a 10% fuzz factor to the resident memory calc (intermittent test failure "fixes")#243
russelldb merged 2 commits into
2.0from
develop-2.2.5

Conversation

@russelldb

Copy link
Copy Markdown
Contributor

On some platforms (or on ubuntu-16.04 server in my lab at least) this
test fails going a little over the expected max resident
memory. However, even with loads more loops, a 10% fuzz factor is enough
for it to pass. If there is a leak, it is a marginal one that never
grows above 10% of the best case, which is good enough, since this code
has been in the wild long enough.

On some platforms (or on ubuntu-16.04 server in my lab at least) this
test fails going a little over the expected max resident
memory. However, even with loads more loops, a 10% fuzz factor is enough
for it to pass. If there is a leak, it is a marginal one that never
grows above 10% of the best case, which is good enough, since this code
has been in the wild long enough.
Left in by mistake when trouble shooting failure
@martincox

Copy link
Copy Markdown
Contributor

+1.

@russelldb
russelldb merged commit c565e46 into 2.0 Feb 20, 2018
@russelldb
russelldb deleted the develop-2.2.5 branch February 20, 2018 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants