File: 1001_relax_timeout_errormsg.patch

package info (click to toggle)
libfurl-perl 3.08-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 612 kB
  • ctags: 166
  • sloc: perl: 2,159; makefile: 27
file content (11 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/t/100_low/07_timeout.t
+++ b/t/100_low/07_timeout.t
@@ -71,7 +71,7 @@
                 $content_size_mb *= 2;
             }
             is $code, 500, "request()/$_";
-            like $msg, qr/Internal Response: Failed to send content: timeout/;
+            like $msg, qr/Internal Response: ([^:]+): timeout/;
             is ref($headers), "ARRAY";
             is Plack::Util::header_get($headers, 'X-Internal-Response'), 1;
             ok $content, 'content: ' . $content;