tests where MiniNode is restarted

Hi

We’re writing a small library on top of the tcp client library. At the moment we’re using MiniNode to do some integration testing… I’m looking for a way to simulate an event store that is down…

Any suggestions?

Calling Shutdown then Start on the mininode results in a “System.InvalidOperationException : Already a thread running.” So it was probably not designed for this…

Wouldn't you just need to connect to a non-existing port?

That would require a new connection.

I’m trying to test a scenario where there is some communication with the node, then the node shutsdown and starts again…

You would have to handle this kind of thing yourself it is not built
into mini node