mirror of
https://github.com/facebook/zstd.git
synced 2025-03-07 09:26:03 +02:00
Fix Flaky Test
This test depended on `_extDict` and `_noDict` compressing identically, which is not a guarantee we make, AFAIK.
This commit is contained in:
parent
c2c32839dc
commit
168d0a3c89
@ -906,7 +906,7 @@ static int basicUnitTests(U32 seed, double compressibility)
|
||||
in.pos = 0;
|
||||
in.size = CNBufferSize - in.size;
|
||||
CHECK(!(ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end) == 0), "Not finished");
|
||||
CHECK_Z(ZSTD_decompress(decodedBuffer, CNBufferSize, compressedBuffer, cSize));
|
||||
CHECK_Z(ZSTD_decompress(decodedBuffer, CNBufferSize, compressedBuffer, out.pos));
|
||||
DISPLAYLEVEL(3, "OK \n");
|
||||
|
||||
DISPLAYLEVEL(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableOutBuffer modify buffer : ", testNb++);
|
||||
|
Loading…
x
Reference in New Issue
Block a user