Description: Relax detection of timeout error message
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/t/100_low/07_timeout.t
+++ b/t/100_low/07_timeout.t
@@ -73,7 +73,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;
