Skip to content

Commit

Permalink
ARROW-15728: [Python] Reduce entropy for zstd test_ipc
Browse files Browse the repository at this point in the history
Closes apache#12462 from emkornfield/fix_compression

Authored-by: Micah Kornfield <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
  • Loading branch information
emkornfield authored and pitrou committed Feb 22, 2022
1 parent 4b77077 commit a061a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def test_stream_simple_roundtrip(stream_fixture, use_legacy_ipc_format):
@pytest.mark.zstd
def test_compression_roundtrip():
sink = io.BytesIO()
values = np.random.randint(0, 10, 10000)
values = np.random.randint(0, 3, 10000)
table = pa.Table.from_arrays([values], names=["values"])

options = pa.ipc.IpcWriteOptions(compression='zstd')
Expand Down

0 comments on commit a061a92

Please sign in to comment.