Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created May 17, 2014 15:07
Show Gist options
  • Save AeroNotix/32d4101d49e447c949af to your computer and use it in GitHub Desktop.
Save AeroNotix/32d4101d49e447c949af to your computer and use it in GitHub Desktop.

Notes about creating a Jepsen test

Implement jepsen.db.DB

  • setup! [this test node]

    • The "provisioning" aspect of your test. Implement anything here which is needed to put the system under test into some state. For example, installing databases, bringing applications up or configuring applications.
  • teardown! [this test node]

    • The opposite of setup!, this method could be used to reverse anything you created/started in setup! For example to take down applications or remove generated files.

Implement jepsen.client.Client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment