Re: [lagom-framework] [1.4] Test Stream Not Receiving Responses

12 views
Skip to first unread message

Ignasi Marimon-Clos i Sunyol

unread,
Feb 19, 2018, 8:16:52 AM2/19/18
to Stephen Couchman, Lagom Framework Users
Hi Stephen,

is that repository public? I'm getting a 404 in GH. :-(

On Thu, Feb 15, 2018 at 7:19 PM, Stephen Couchman <sattai...@gmail.com> wrote:
Hello All,


I'm trying to test a very simple streaming echo service... and failing miserably.  The probe times out on getting any data back continually.


I've put together the simplified test case here, along with the output of the "test" command as README: https://github.com/SattaiLanfear/lagom-test


The input-source seems to be being consumed, but the output seems to never release any data.

I'm sure I've missed something glaringly obvious so any advice you can offer would be appreciated.

Thanks,

Stephen

--
You received this message because you are subscribed to the Google Groups "Lagom Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagom-framework+unsubscribe@googlegroups.com.
To post to this group, send email to lagom-framework@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lagom-framework/edb5f276-28b2-4cf7-9d99-14f384322351%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ignasi Marimon-Clos
Software Developer @ Lagom


Stephen Couchman

unread,
Feb 19, 2018, 11:18:25 AM2/19/18
to Lagom Framework Users
Hi Ignasi,


Er, lol.  Sorry, I thought I'd managed to withdraw the question in time.  It's embarrassing but I figured out the cause of my problem.

I was running with Akka-Streams Testkit.
It came down to Probe.expectNext(T) and Probe.requestNext(T) not being the same and I was using the wrong one.


I do find it curious how much data the send side buffered without it being requested, about a full megabyte of generated data (136 messages).  I obviously can't tell if that buffering was on the send side or the receive side prior to my stream assembly.  Are those buffers configurable somewhere?

Apologies for the confusion and thanks for the attention,
Stephen



On Monday, February 19, 2018 at 8:16:52 AM UTC-5, Ignasi Marimon-Clos i Sunyol wrote:
Hi Stephen,

is that repository public? I'm getting a 404 in GH. :-(
On Thu, Feb 15, 2018 at 7:19 PM, Stephen Couchman <sattai...@gmail.com> wrote:
Hello All,


I'm trying to test a very simple streaming echo service... and failing miserably.  The probe times out on getting any data back continually.


I've put together the simplified test case here, along with the output of the "test" command as README: https://github.com/SattaiLanfear/lagom-test


The input-source seems to be being consumed, but the output seems to never release any data.

I'm sure I've missed something glaringly obvious so any advice you can offer would be appreciated.

Thanks,

Stephen

--
You received this message because you are subscribed to the Google Groups "Lagom Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lagom-framewo...@googlegroups.com.
To post to this group, send email to lagom-f...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages