Skip to content

Instantly share code, notes, and snippets.

@titsuki
Created March 17, 2018 02:18
Show Gist options
  • Save titsuki/26fa50d6ce15697424ad4081f022dcf1 to your computer and use it in GitHub Desktop.
Save titsuki/26fa50d6ce15697424ad4081f022dcf1 to your computer and use it in GitHub Desktop.
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 16 wallclock secs ( 0.01 usr 0.00 sys + 17.61 cusr 3.30 csys = 20.92 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.01 usr 0.01 sys + 2.55 cusr 0.25 csys = 2.82 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.02 usr 0.01 sys + 2.60 cusr 0.30 csys = 2.93 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.02 usr 0.00 sys + 2.56 cusr 0.30 csys = 2.88 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.02 usr 0.00 sys + 2.54 cusr 0.30 csys = 2.86 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.01 usr 0.00 sys + 2.61 cusr 0.23 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.03 usr 0.00 sys + 2.53 cusr 0.29 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.01 usr 0.00 sys + 2.60 cusr 0.26 csys = 2.87 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.54 cusr 0.29 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.02 usr 0.00 sys + 2.64 cusr 0.20 csys = 2.86 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.55 cusr 0.28 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.64 cusr 0.24 csys = 2.90 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.58 cusr 0.26 csys = 2.86 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.59 cusr 0.24 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.01 usr 0.00 sys + 2.63 cusr 0.22 csys = 2.86 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.64 cusr 0.20 csys = 2.86 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.65 cusr 0.18 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.62 cusr 0.27 csys = 2.91 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.01 sys + 2.58 cusr 0.24 csys = 2.85 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
ok 4 - Timeout breaks ping promise
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
ok
All tests successful.
Files=1, Tests=17, 3 wallclock secs ( 0.02 usr 0.00 sys + 2.60 cusr 0.26 csys = 2.88 CPU)
Result: PASS
itoyota@debian:~/Program/cro-websocket$ PERL6LIB=lib prove -v -r --exec=perl6 t/websocket-client.t
t/websocket-client.t ..
ok 1 - Cannot send anything to closed channel(by done)
ok 2 - Empty ping is recieved
ok 3 - Ping is recieved
not ok 4 - Timeout breaks ping promise
# Failed test 'Timeout breaks ping promise'
# at t/websocket-client.t line 88
ok 5 -
ok 6 - The connection is closed by close() call
ok 7 - Cannot send anything to closed channel by close() call
ok 8 - Can send Hash using client with JSON body serializer installed
ok 9 - Got hash back from body, thanks to JSON body parser
ok 10 - Correct hash content (1)
ok 11 - Correct hash content (2)
ok 12 - Correct hash content (3)
ok 13 - Can send Hash using client constructed with :json
ok 14 - Got hash back from body, thanks to :json
ok 15 - Correct hash content (1)
ok 16 - Correct hash content (2)
ok 17 - Correct hash content (3)
1..17
# Looks like you failed 1 test of 17
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/17 subtests
Test Summary Report
-------------------
t/websocket-client.t (Wstat: 256 Tests: 17 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=17, 2 wallclock secs ( 0.02 usr 0.00 sys + 2.56 cusr 0.20 csys = 2.78 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment