Re: [PATCH v2] test: improve resiliency of malloc autotest

2025-01-17 Thread Bruce Richardson
On Fri, Jan 17, 2025 at 05:20:41PM +0300, Dmitry Kozlyuk wrote: > 2025-01-17 13:52 (UTC+), Bruce Richardson: > > The test case "test_multi_alloc_statistics" was brittle in that it did > > some allocations and frees and then checked statistics without > > considering the initial state of the mal

Re: [PATCH v2] test: improve resiliency of malloc autotest

2025-01-17 Thread Dmitry Kozlyuk
2025-01-17 13:52 (UTC+), Bruce Richardson: > The test case "test_multi_alloc_statistics" was brittle in that it did > some allocations and frees and then checked statistics without > considering the initial state of the malloc heaps. This meant that, > depending on what allocations/frees were d

[PATCH v2] test: improve resiliency of malloc autotest

2025-01-17 Thread Bruce Richardson
The test case "test_multi_alloc_statistics" was brittle in that it did some allocations and frees and then checked statistics without considering the initial state of the malloc heaps. This meant that, depending on what allocations/frees were done beforehand, the test can sometimes fail. We can im