Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:15
    Aaronontheweb synchronize #3889
  • 21:00
    dependabot-preview[bot] synchronize #3986
  • 21:00

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

  • 21:00
    dependabot-preview[bot] synchronize #3985
  • 21:00

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • 21:00
    dependabot-preview[bot] synchronize #3983
  • 21:00

    dependabot-preview[bot] on nuget

    Bump ApprovalUtilities from 3.0… (compare)

  • 21:00
    dependabot-preview[bot] edited #3985
  • 21:00
    dependabot-preview[bot] edited #3986
  • 21:00
    dependabot-preview[bot] synchronize #3982
  • 21:00
    dependabot-preview[bot] synchronize #3987
  • 21:00

    dependabot-preview[bot] on nuget

    Bump FsPickler from 5.2.0 to 5.… (compare)

  • 21:00

    dependabot-preview[bot] on nuget

    Bump LightningDB from 0.9.8 to … (compare)

  • 21:00
    dependabot-preview[bot] edited #3982
  • 21:00
    dependabot-preview[bot] edited #3983
  • 21:00
    dependabot-preview[bot] edited #3987
  • 20:59
    dependabot-preview[bot] edited #3982
  • 20:59
    dependabot-preview[bot] edited #3985
  • 20:59
    dependabot-preview[bot] edited #3987
  • 20:59
    dependabot-preview[bot] edited #3986
Maxim Cherednik
@maxcherednik
nothing comes for free :)
Natan Vivo
@nvivo
ok, so one thing doesn't make sense. If dynamic ports don't work, why are they there?
Maxim Cherednik
@maxcherednik
don't create super big cluster :) create 3-5 nodes cluster and play around
they do work, but node recovery doesn't work out of the box- you need to have a smart monitoring system for this
Natan Vivo
@nvivo
yeah, so that was my question. how do I remove a node? Does the cluster extension allow me to remove any node?
Maxim Cherednik
@maxcherednik
you have to manually down it
Natan Vivo
@nvivo
Ok, so I can do Cluster.Leave from any node with any node address?
Maxim Cherednik
@maxcherednik
yep
Natan Vivo
@nvivo
ok
sounds enough
thanks
Maxim Cherednik
@maxcherednik
first of all have a graceful stop for the node itself
have a look at the example I sent
Natan Vivo
@nvivo
ok
I'll take a look
Bartosz Sypytkowski
@Horusiath
@webafriq_twitter Akka.Persistence uses concepts from eventsourcing. I don't know if you're familiar with that concept. It's not meant for standard CRUD and to be honest, you don't need any library for crud/snapshotting. It could be just few lines of hand-written code.
btw. guys, If you want to contribute and you're looking for low-hanging fruit akkadotnet/akka.net#2515 would be the one
Francis Paulin
@paulinfrancis
Hypothetically, if one has an actor cluster running on regular .NET, would an actor running on Mono be able to join the cluster?
Bartosz Sypytkowski
@Horusiath
@paulinfrancis yes
Francis Paulin
@paulinfrancis
awesome, thanks :)
Daniel Söderberg
@raskolnikoov
Hi all, when writing test with TestKit, is it possible to test that a actor receives a certain message?
Maxim Cherednik
@maxcherednik
hi, sure you can
Daniel Söderberg
@raskolnikoov
example?
@maxcherednik
Maxim Cherednik
@maxcherednik
Daniel Söderberg
@raskolnikoov
yes, I forgot to tell, my actor is a AtLeastOnceReciveActor (persistence)
maybe thats the problem in there
Maxim Cherednik
@maxcherednik
so ok. which part is not exactly working?
Daniel Söderberg
@raskolnikoov
I tell my actor and that actor starts another actor that does some magic and tells my actor the result. the result message is what I want to test
but it dosent get it in my TestKit void...
Maxim Cherednik
@maxcherednik
basically what you are testing is simple request response, hence the very first example from that blog should work...
another thing - when you actually hit the storage - it's not exactly a unit test
how about you replace all the storage actors and try it again ?
cause from what you describe - it should work
if you do everything else right, the only reason to fail is wrong persistence configuration
Daniel Söderberg
@raskolnikoov
no it dosent work.. :(
tried to do it with a simple A and B actor test... I called my A actor that calls B actor and returns to A actor... the return message to my A actor dosent every occur in my ExpectMsg
:/
I want to catch the Recive<MyMessage>
Maxim Cherednik
@maxcherednik
hm...
Daniel Söderberg
@raskolnikoov
im trying to test a actor that never returns a message
I just want to check that it gets a certain message
Maxim Cherednik
@maxcherednik
then there is something wrong in general
what about the very simple scenario ?
Daniel Söderberg
@raskolnikoov
that dosent work
Maxim Cherednik
@maxcherednik
like one actor - you send ping, it responds pong and you expect this pong on the test actor ?
Daniel Söderberg
@raskolnikoov
let me upload an example
how can I test this example with valid result :)
Maxim Cherednik
@maxcherednik
ok, like I thought it's not that simple then