~bduggan/raku-curlie

ref: cf639b301572c8a5920ae3b1c643afbc636bb3ab raku-curlie/t/06-long.rakutest -rw-r--r-- 353 bytes
cf639b30Brian Duggan skip stress test 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!raku

use Test;
use Curlie;
use Log::Async;

constant AUTHOR = ?%*ENV<TEST_AUTHOR_LOCAL>;
do { plan 1; skip-rest "Skipping author test"; exit } unless AUTHOR;

logger.add-tap: -> $m { diag "$_" for $m<msg>.lines }, :level(* >= DEBUG);

{
  my \c = Curlie.new;
  c.get: 'http://localhost:3000/hello';
  ok c.res.success, '1 request';
}

done-testing;