Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:03
    Aaronontheweb closed #2378
  • 22:03
    Aaronontheweb commented #2378
  • 22:02
    Aaronontheweb closed #4232
  • 22:02
    Aaronontheweb commented #4232
  • 21:37
    cptjazz synchronize #4242
  • 21:14

    Aaronontheweb on dev

    close #4246 - no throw inside Eā€¦ (compare)

  • 21:14
    Aaronontheweb closed #4249
  • 21:14
    Aaronontheweb closed #4246
  • 21:02
    cptjazz commented #4242
  • 20:41
    Arkatufus opened #4253
  • 20:31
    Aaronontheweb synchronize #4212
  • 20:30
    Aaronontheweb commented #4242
  • 20:29
    Aaronontheweb synchronize #4240
  • 20:29
    Aaronontheweb synchronize #4238
  • 20:28
    Aaronontheweb labeled #4252
  • 20:28
    Aaronontheweb synchronize #4252
  • 20:28
    Aaronontheweb opened #4252
  • 20:26

    dependabot-preview[bot] on nuget

    (compare)

  • 20:26
    dependabot-preview[bot] closed #4243
  • 20:26
    dependabot-preview[bot] commented #4243
Aaron Stannard
@Aaronontheweb
literally anybody can submit a PR to upgrade it
I don't work much on Akka.Persistence myself
to11mtm @to11mtm would go ahead but is stuck in oracle world (gag)
Aaron Stannard
@Aaronontheweb
Akka.Remote / Cluster is where I spend most of my time
ping @cconstantin @Horusiath
Vagif Abilov
@object
What I mean is that you are listed as the package owner at Nuget.org.
So my question is who should release the new package? Isn't it you?
Vagif Abilov
@object
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.
Aaron Stannard
@Aaronontheweb
@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
Vagif Abilov
@object
Oh I see. Then I can take it further.
Finn Newick
@finnnewick-justgiving

Hi there

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?

Marc Piechura
@marcpiechura
@finnnewick-justgiving you could use ReceiveN or if your list is small and contains the same type ExpectMsg(1,2,3)
Finn Neuik
@finnneuik_twitter
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?
Marc Piechura
@marcpiechura
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
Finn Neuik
@finnneuik_twitter
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
Marc Piechura
@marcpiechura
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?
Finn Neuik
@finnneuik_twitter
yep, although was planning to go through the pluralsight courses first
Marc Piechura
@marcpiechura
šŸ‘
Aaron Stannard
@Aaronontheweb
@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
artem-karnaukh
@artem-karnaukh
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 [3] buffered messages.
is there any quick fix for it?
Sean Gilliam
@sean-gilliam

@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.

Aaron Stannard
@Aaronontheweb
ping @Horusiath about that @artem-karnaukh
Arjen Smits
@Danthar
sqlserver persistence 1.0.8 has just been pushed, should be available on nuget shortly
Aaron Stannard
@Aaronontheweb
@Danthar :+1: ty sir - that should solve the issue for you @object
Aaron Stannard
@Aaronontheweb
@/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
the tooling for it is great
among other things
qwoz
@qwoz
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.
Aaron Stannard
@Aaronontheweb
@qwoz the ThreadAbortedException usually comes from the test runner
when cleaning up the actors