Starting NATS server in a test

1,019 views
Skip to first unread message

Henrik Johansson

unread,
Oct 10, 2016, 6:32:12 AM10/10/16
to nats
Hi,

Is this normally something people do in their apps?
We are starting to get a bit more refined usage of NATS and mocking can get tedious and redundant.
I think it should be fairly easy and my approach is to use default for everything except port.

Does it make sense? Any tips and tricks?

/ Henrik
 

Colin Sullivan

unread,
Oct 10, 2016, 12:47:59 PM10/10/16
to nats

Henrik Johansson

unread,
Oct 10, 2016, 2:07:23 PM10/10/16
to nats
Thanks Colin!

I was missing that sneaky loop to wait for the server getting up :)

--
You received this message because you are subscribed to the Google Groups "nats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to natsio+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages