Skip to content

Issue 322: testing: Implement Chaos Engineering (Network Partitioning) Tests #24

@AlAfiz

Description

@AlAfiz

Description

Distributed networks must survive "split-brain" scenarios. We need to introduce Chaos Engineering into our test suite to artificially simulate dropped packets, high latency, and network partitions to verify the node's recovery logic.

Requirements

  • Create a local Docker Compose test environment running at least 5 nodes.
  • Use a tool like Toxiproxy or Linux tc (Traffic Control) to dynamically inject 500ms latency and 10% packet loss between specific containers.
  • Write an automated test suite that partitions the network into two halves, processes transactions on both sides, and verifies they successfully reconcile when the partition is healed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions