Conversation
|
cc @radarhere :) |
|
While I instinctively dislike reducing the severity of a test case, It's just unfortunate that there's such variety when testing in CI. I've approved #9933. |
|
This is the more accurate test for 91b01f4 though: we're now measuring whether With this, the severity of the test case (100M x 0, or 0 x 100M) can remain as it was, with the noted caveat that the tall test will temporarily allocate 700M of memory for the row pointers. |
|
I've re-examined the history of this. It turns out that #6842 was added to try and fix a security bug. The large sizes being tested aimed to replicate the security bug. The change is still valid, but it turns out that it wasn't actually the root cause of the security issue. So it doesn't work as a regression test. Without this test, the lines still receive coverage from other tests, there's just no test that fails (which is positive - if our code still works well without this early return, great). If I suggested removing the test altogether, what would you think of that? |
|
@radarhere I'm okay with that. I'll rework the PR :) |
6d8c0c7 to
e366475
Compare
Allocating a tall image with no width will still take some time to initialize the pointer array for the rows.
e366475 to
b9e7f5c
Compare
Alternative to #9957.
Refs akx#21 (comment).
Refs #9933 (which fixes the timeout flake by reducing the size of the image, so the allocation is smaller, which was not a preferred approach).