apple/foundationdb

Add documentation on simulation testing at scale

Open

#4,663 opened on Apr 14, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (13,912 stars) (1,266 forks)batch import
documentationgood first issue

Description

Now we have open sourced the Joshua testing framework. It's time to add documentation on how to run simulation testings at scale, probably improve both documentation here and at Joshua project. This will make it easier for contributors other than Apple and Snowflake.

To start, we need to describe the steps for setting up the testing infrastructure:

  • Have a FoundationDB cluster running.
  • Build and run the docker image from this script, make sure the docker image uses the same FDB version as the cluster in the first step. Go inside the docker image and make sure it can talk to the cluster.
  • Create a correctness package (i.e., as simple as ninja package_tests).
  • Submit correctness package to the cluster.

We also need descriptions on how to check simulation results, e.g., how many failed, how to reproduce, inactive jobs, etc.

Contributor guide

Add documentation on simulation testing at scale · apple/foundationdb#4663 | Good First Issue