Skip to content

Support for testing process failures and netsplits #419

Open
@mboes

Description

@mboes

From @hyperthunk on January 3, 2013 12:57

When testing distributed systems, it's pretty useful to be able to simulate communication errors. I propose that we write some extensions to network-transport-inmemory that allow a test coordinator to mess with the connectivity between nodes, introducing arbitrary delays, forced disconnects and so on.

I would also like to have something like https://github.com/dluna/chaos_monkey that kills arbitrary processes on demand, but stays away from system processes and supervisors. Quite how one should identify that a process is a supervisor I don't know. Erlang uses the process dictionary for this (storing the initial_call and such things in there) but we might want to think about other approaches.

Copied from original issue: #107

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions