Class io.micronaut.http.server.netty.sse.ServerSentEventSpec

5

tests

0

failures

0

ignored

1m0.17s

duration

100%

successful

Tests

Test Duration Result
test consume event stream object 0.150s passed
test consume event stream string 0.111s passed
test consume rich event stream object 0.372s passed
test receive error from onError 59.432s passed
test receive error from supplier 0.106s passed

Standard output

00:20:25.904 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:20:25.907 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:20:26.017 [Test worker] INFO  okhttp-eventsource-[] - Starting EventSource client using URI: http://localhost:60741/sse/object
00:20:26.057 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.131 [Test worker] INFO  okhttp-eventsource-[] - Starting EventSource client using URI: http://localhost:60741/sse/string
00:20:26.141 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.239 [Test worker] INFO  okhttp-eventsource-[] - Starting EventSource client using URI: http://localhost:60741/sse/rich
00:20:26.243 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.611 [Test worker] INFO  okhttp-eventsource-[] - Starting EventSource client using URI: http://localhost:60741/sse/exception
00:20:26.622 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.628 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.632 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.632 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.636 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.637 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.640 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.640 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.644 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.644 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.648 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.648 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.651 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.652 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.655 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.655 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.658 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.659 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.662 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.662 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.665 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.666 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.669 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.669 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.674 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.674 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.677 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.678 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.681 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.682 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.685 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.685 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.689 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.689 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.692 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.692 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.695 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.696 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.699 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.699 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.703 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.703 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.707 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.707 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.711 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:20:26.711 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:20:26.720 [Test worker] INFO  okhttp-eventsource-[] - Starting EventSource client using URI: http://localhost:60741/sse/onError
00:20:26.737 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Waiting 16837 milliseconds before reconnecting...
00:20:43.578 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Waiting 22493 milliseconds before reconnecting...
00:21:06.074 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Waiting 22739 milliseconds before reconnecting...
00:21:26.104 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:21:26.107 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:21:26.153 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.
00:21:26.156 [okhttp-eventsource-stream-[]-0] INFO  okhttp-eventsource-[] - Connected to Event Source stream.
00:21:26.249 [okhttp-eventsource-stream-[]-0] WARN  okhttp-eventsource-[] - Connection unexpectedly closed.