Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-kafka
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenStack
python
python-kafka
Commits
5b858592
Commit
5b858592
authored
7 years ago
by
Thomas Goirand
Browse files
Options
Downloads
Patches
Plain Diff
Add remove-old-lz4-test.patch (Closes: #881986).
parent
3db408bd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/patches/remove-old-lz4-test.patch
+25
-0
25 additions, 0 deletions
debian/patches/remove-old-lz4-test.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
32 additions
and
0 deletions
debian/changelog
+
6
−
0
View file @
5b858592
python-kafka (1.3.3-3) unstable; urgency=medium
* Add remove-old-lz4-test.patch (Closes: #881986).
-- Thomas Goirand <zigo@debian.org> Fri, 17 Nov 2017 12:11:12 +0000
python-kafka (1.3.3-2) unstable; urgency=medium
* Uploading to unstable (Closes: #834033).
...
...
This diff is collapsed.
Click to expand it.
debian/patches/remove-old-lz4-test.patch
0 → 100644
+
25
−
0
View file @
5b858592
Description: Remove old lz4 test
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/881986
Forwarded: not-needed
Last-Update: 2017-11-18
--- python-kafka-1.3.3.orig/test/test_codec.py
+++ python-kafka-1.3.3/test/test_codec.py
@@ -95,16 +95,6 @@
def test_lz4():
@pytest.mark.skipif(not has_lz4() or platform.python_implementation() == 'PyPy',
reason="python-lz4 crashes on old versions of pypy")
-def test_lz4_old():
- for i in xrange(1000):
- b1 = random_string(100).encode('utf-8')
- b2 = lz4_decode_old_kafka(lz4_encode_old_kafka(b1))
- assert len(b1) == len(b2)
- assert b1 == b2
-
-
-@pytest.mark.skipif(not has_lz4() or platform.python_implementation() == 'PyPy',
- reason="python-lz4 crashes on old versions of pypy")
def test_lz4_incremental():
for i in xrange(1000):
# lz4 max single block size is 4MB
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
5b858592
...
...
@@ -2,3 +2,4 @@ do-not-use-sphinxcontrib.napoleon-theme.patch
no-intersphinx.patch
do-not-test-lz4-compression.patch
remove-multiple-privacy-breaches.patch
remove-old-lz4-test.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment