jepsen-io / jepsen

A framework for distributed systems verification, with fault injection
6.81k stars 719 forks source link

Is there any ways to run jepsen tests on the same machine but on different ports #319

Closed CalvinNeo closed 5 years ago

CalvinNeo commented 5 years ago

Issue https://github.com/jepsen-io/jepsen/issues/293 says jepsen supports physical machines, VMs, or containers.

I am wondering if there are some ways that I run n1 to n5 in the same machine but with different ports, since it will be easier for me to configure and test.

aphyr commented 5 years ago

Technically yes, but large parts of Jepsen are built with the assumption that each node is an independent OS; you may find it takes more work to write custom code for things like DB setup and introducing faults than to set up containers or VMs in the first place. If you're planning to run an existing test, chances are it was designed with independent nodes in mind.