Skip to content

Commit b03eb15

Browse files
committed
Increase timeouts in committable tests
More releases = more time it takes to run something on all releases.
1 parent fae0078 commit b03eb15

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

t/committable.t

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,23 +161,28 @@ $t.test(‘huge stdin is not replied back fully’,
161161

162162
$t.test(“releases” query,
163163
commit: releases say $*PERL,
164-
/^ <{$t.our-nick}> ‘, ¦releases (’\d+‘ commits): «Perl 6 (6.c)»’ $/);
164+
/^ <{$t.our-nick}> ‘, ¦releases (’\d+‘ commits): «Perl 6 (6.c)»’ $/,
165+
:20timeout);
165166

166167
$t.test(“v6c” query,
167168
commit: v6c say $*PERL,
168-
/^ <{$t.our-nick}> ‘, ¦v6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/);
169+
/^ <{$t.our-nick}> ‘, ¦v6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/,
170+
:20timeout);
169171

170172
$t.test(“6.c” query,
171173
commit: 6.c say $*PERL,
172-
/^ <{$t.our-nick}> ‘, ¦6.c (’\d+‘ commits): «Perl 6 (6.c)»’ $/);
174+
/^ <{$t.our-nick}> ‘, ¦6.c (’\d+‘ commits): «Perl 6 (6.c)»’ $/,
175+
:20timeout);
173176

174177
$t.test(“6c” query,
175178
commit: 6c say $*PERL,
176-
/^ <{$t.our-nick}> ‘, ¦6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/);
179+
/^ <{$t.our-nick}> ‘, ¦6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/,
180+
:20timeout);
177181

178182
$t.test(“what:” query,
179183
what: say $*PERL,
180-
/^ <{$t.our-nick}> ‘, ¦6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/);
184+
/^ <{$t.our-nick}> ‘, ¦6c (’\d+‘ commits): «Perl 6 (6.c)»’ $/,
185+
:20timeout);
181186

182187
$t.test(“what,” does not work,
183188
what, say ‘what, is actually working…’);
@@ -188,12 +193,12 @@ $t.test(‘“6c,” does not work’,
188193
$t.test(“all” query (same output everywhere),
189194
commit: all say 'hi', # ASCII quotes because they are supported everywhere
190195
/^ <{$t.our-nick}> ‘, ¦all (’\d+‘ commits): «hi»’ $/,
191-
:20timeout);
196+
:30timeout);
192197

193198
$t.test(“all” query (different output everywhere),
194199
commit: all say rand,
195200
{$t.our-nick}, https://whatever.able/fakeupload,
196-
:20timeout);
201+
:30timeout);
197202

198203
$t.test(multiple commits separated by comma,
199204
commit: 2016.02,2016.03,9ccd848,HEAD say ‘hello’,
@@ -283,7 +288,8 @@ $t.test(‘Both commits are wrong (did you mean … ?)’,
283288
$t.test(Did you forget to specify a revision?,
284289
commit: say ‘hello world’,
285290
{$t.our-nick}, Seems like you forgot to specify a revision (will use “v6.c” instead of “say”),
286-
/^ <{$t.our-nick}> ‘, ¦v6.c (’\d+‘ commits): «hello world»’ $/);
291+
/^ <{$t.our-nick}> ‘, ¦v6.c (’\d+‘ commits): «hello world»’ $/,
292+
:20timeout);
287293

288294
# Timeouts
289295

0 commit comments

Comments
 (0)