Skip to content

Commit bb3fc66

Browse files
committed
Only sleep if not running the tests
Otherwise tests will time out.
1 parent 6f222b5 commit bb3fc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Whateverable.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ method selfrun($nick is copy, @alias?) {
178178
use Whateverable::Builds;
179179
ensure-cloned-repos;
180180

181-
sleep rand × 300 unless %*ENV<DEBUGGABLE>;
181+
sleep rand × 300 if none %*ENV<DEBUGGABLE TESTABLE>;
182182

183183
$nick ~= test if %*ENV<DEBUGGABLE>;
184184
.run with IRC::Client.new(

0 commit comments

Comments
 (0)