Add tests for single threaded CLI 4GB @ all strategies to trigger index reduction #2601
Add tests for single threaded CLI 4GB @ all strategies to trigger index reduction #2601senhuang42 wants to merge 1 commit intofacebook:devfrom
Conversation
aa75518 to
f5d481d
Compare
|
While this adds some much needed test coverage, Longest test detected in this run :
which I presume is related to
and in #2597:
So that's not a one-off, and it's far more than 3 minutes. Finally, the new test This is a question of balance. Try to find ways to make the feedback loop less impacted. |
Ah interesting. I'm guessing we can just add more gh actions that basically just each perform the action: Edit: still looks like it takes too long |
5245b36 to
102074d
Compare
|
We might be able to abandon this in favor of #2603. |
Agreed, this would be redundant. |
#2598 fixes a bug with rowhash that gets large enough to trigger index reduction.
Here, we add some CLI tests that would have trivially caught this (with ASAN). We add a ST 4GB roundtrip test for each strategy, so that future modifications to other strategies will also get tested with huge files.
We also add a ubsan-asan gh actions test.
Test Plan:
dev, passes with Fix chaintable check to include rowhash in ZSTD_reduceIndex() #2598