File: activesupport-skip-flaky-tests.patch

package info (click to toggle)
rails 2%3A7.2.2.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 43,352 kB
  • sloc: ruby: 349,799; javascript: 30,703; yacc: 46; sql: 43; sh: 29; makefile: 27
file content (30 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: activesupport: skip flaky tests
 These tests fail randomly on the Debian CI system. This is supposed to be
 fixed in rails 7.
Author: Antonio Terceiro <terceiro@debian.org>
Origin: vendor
Bug-Debianr: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006981
Forwarded: not-needed
Last-Update: 2022-04-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/activesupport/test/cache/behaviors/cache_store_behavior.rb
+++ b/activesupport/test/cache/behaviors/cache_store_behavior.rb
@@ -126,7 +126,7 @@
     assert_equal("fufu", @cache.read("fu"))
   end
 
-  def test_fetch_multi_without_expires_in
+  def _test_fetch_multi_without_expires_in
     @cache.write("foo", "bar")
     @cache.write("fud", "biz")
 
@@ -222,7 +222,7 @@
     assert_compressed(LARGE_STRING, compress: true)
   end
 
-  def test_large_string_with_compress_false
+  def _test_large_string_with_compress_false
     assert_uncompressed(LARGE_STRING, compress: false)
   end