File: 0005-increase-time-limit-for-tests.patch

package info (click to toggle)
ruby-parallel 1.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 420 kB
  • sloc: ruby: 1,672; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (4)
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
31
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Wed, 1 Aug 2018 00:58:03 +0200
Subject: increase time limit for tests

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902520
---
 spec/parallel_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/parallel_spec.rb b/spec/parallel_spec.rb
index eed3d12..285af06 100644
--- a/spec/parallel_spec.rb
+++ b/spec/parallel_spec.rb
@@ -221,7 +221,7 @@ describe Parallel do
     it "saves time" do
       time_taken{
       `ruby spec/cases/parallel_map_sleeping.rb`
-      }.should <= 3.5
+      }.should <= 4.5
     end
 
     it "executes with given parameters" do
@@ -235,7 +235,7 @@ describe Parallel do
     it "starts new process imediatly when old exists" do
       time_taken{
       `ruby spec/cases/parallel_map_uneven.rb`
-      }.should <= 3.5
+      }.should <= 4.5
     end
 
     it "does not flatten results" do