So my question is who should release the new package? Isn't it you?
I just checked the GitHub. Yes, @Horusiath has merged pr on April 15, the repo is good to go (dev branch), but Nuget package hasn't been released.
@object ah my bad, I should have explained
all of the plugins in the AkkaDotNet organization
have our CI system hooked up to them
any merges into the master branch will automatically trigger a publish to NuGet
using my credentials
or the akkadotnet user's
so anyone can submit a PR to the master branch with a new release, and as long as it gets reviewed by a core team member with merge rights
it will be automatically deployed upon merge
Oh I see. Then I can take it further.
I'm trying to write a test to verify that one actor takes a list of values and sends a message per distinct value.
Any hints about the best way to do this? E.g. Is there a way to find out the counts of messages received by a TestProbe actor?
@finnnewick-justgiving you could use ReceiveN or if your list is small and contains the same type ExpectMsg(1,2,3)
that won't tell me if I've got any extra messages queued though presumably?
e.g. if ExpectMessage(1,2) was passing I'd like ExpectMessage(1,2,3) to fail
same goes for ReceiveN if I understand correctly?
That's true, you could use ExpectNoMsg to verify that you doesn't receive any further messages
There is also a ReceiveWhile which you can use to collect all messages in a given time period and then check that the list only contains the ones you expect
ok, I guess that would work - I guess the timeout can be reduced dramatically from the default of 3s?
thanks for the help - using akka.net for the first time this week
Yep you can reduce it, normally via parameter but afaik there is also a more general way, something like Within(()=> ..., Timeout) where all assertions inside the within block use the provided timeout instead of 3s
Cool, have you already seen the bootcamp?
yep, although was planning to go through the pluralsight courses first
@finnneuik_twitter imho, just do the bootcamp
the pluralsight courses are a little off
based on some feedback I've gotten from folks who took them and did my advance training
your mileage may vary though
hey im trying to dip into akka.cluster sharding and get the following error when trying to send a message to a shard actor: 2016-05-31 22:26:35.0691|WARN|Akka.Cluster.Sharding.ShardRegion|Trying to register to coordinator at [user/sharding/UserCoordinator/singleton/coordinator], but no acknowledgement. Total  buffered messages.
is there any quick fix for it?
@sean-gilliam I found this while working on Cluster stuff tonight and thought you'd get a laugh
@Aaronontheweb lol. GhostDoc is the bane of my existence.
ping @Horusiath about that @artem-karnaukh
sqlserver persistence 1.0.8 has just been pushed, should be available on nuget shortly
@Danthar :+1: ty sir - that should solve the issue for you @object
@/all any strong opinions on using or not using System.Diagnostics.Contracts in all Akka libraries going forward?
been going through some core Akka stuff today and saw that we have at least 3 different ways of doing Debug assertions now
some custom exceptions, Debug.Assert
I'm in favor of just standardizing all of this on Code Contracts
Any trick to sending email from within an actor? I'm using SMTPClient and I'm temporarily abusing NUnit a little to actually send out emails for real from within my actor as part of the test as a quick way of verifying the contents are what I expect (I'll fake the email send later). The problem is that I get an SMTPException with an inner exception of ThreadAbortedException.
@qwoz the ThreadAbortedException usually comes from the test runner
when cleaning up the actors
when I've had to do this stuff before I just had an actor who would queue "email messages" out onto a queue
that would get scooped up by another process and delivered in batch
but that was kind of a special case with how I had to deliver them
(wasn't really over email - just a similar notification system)