Skip to content

[C++] Failure in jemalloc stats tests #33025

@asfimport

Description

@asfimport

I just got this when running the tests locally:

[----------] 2 tests from Jemalloc
[ RUN      ] Jemalloc.SetDirtyPageDecayMillis
[       OK ] Jemalloc.SetDirtyPageDecayMillis (0 ms)
[ RUN      ] Jemalloc.GetAllocationStats
/home/antoine/arrow/dev/cpp/src/arrow/memory_pool_test.cc:218: Failure
The difference between metadata0 and 3000000 is 2962256, which exceeds 1000000, where
metadata0 evaluates to 5962256,
3000000 evaluates to 3000000, and
1000000 evaluates to 1000000.
[  FAILED  ] Jemalloc.GetAllocationStats (0 ms)
[----------] 2 tests from Jemalloc (0 ms total)

It looks like those checks should be relaxed to allow for more context-dependent behaviour.

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou
Watchers: Rok Mihevc / @rok

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-17800. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions