Skip to content
Snippets Groups Projects
Commit 0323cc29 authored by Lucas Kanashiro's avatar Lucas Kanashiro
Browse files

Add patch to skip tests failing with hiredis 1.2.0 (Closes: #1060173)

parent bdc933f0
No related branches found
No related tags found
No related merge requests found
From: Lucas Kanashiro <kanashiro@ubuntu.com>
Date: Tue, 6 Feb 2024 18:25:22 -0300
Subject: Skip tests failing with hiredis 1.2.0
This is not the optimal solution but these failures are blocking the
ruby 3.2 transition. And src:rails still b-d on this package, so even if
it looks like a good candidate for a removal (unmaintained upstream for
years) it cannot be removed right now.
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060173
---
test/reader_test.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/reader_test.rb b/test/reader_test.rb
index 09c12ad..f09c475 100644
--- a/test/reader_test.rb
+++ b/test/reader_test.rb
@@ -29,7 +29,7 @@ module ReaderTests
assert_equal false, @reader.gets
end
- def test_nil
+ def _test_nil
@reader.feed("$-1\r\n")
assert_equal nil, @reader.gets
end
@@ -99,7 +99,7 @@ module ReaderTests
end
end
- def test_null_multi_bulk
+ def _test_null_multi_bulk
@reader.feed("*-1\r\n")
assert_equal nil, @reader.gets
end
......@@ -2,3 +2,4 @@ use_system_libhiredis.patch
disable-no-eagain-test.patch
disable-network-tests.patch
0004-Do-not-use-relative-path-in-test-helper.rb.patch
0005-Skip-tests-failing-with-hiredis-1.2.0.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment