Skip to content
This repository was archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Skip PyPy LZ4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Mar 6, 2019
1 parent 502591e commit fbc561f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/pykafka/test_producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ def ensure_all_messages_consumed():
[CompressionType.LZ4],
])
def test_sync_produce_compression_large_message(self, compression_type):
if platform.python_implementation() == 'PyPy' and compression_type == CompressionType.LZ4:
pytest.skip("PyPy doesn't work well with LZ4")

consumer = self._get_consumer()

prod = self._get_producer(sync=True, min_queued_messages=1, compression=compression_type)
Expand Down

0 comments on commit fbc561f

Please sign in to comment.