Are all the source code of tests that constitutes “roughly one trillion CPU-hours of simulation on FoundationDB” contained in https://github.com/apple/foundationdb
?
Yes. All tests are open source:
- Tests are located foundationdb/tests at main · apple/foundationdb · GitHub, where each test is a specification of a combination of workloads.See foundationdb/tests/fast/CycleTest.toml at main · apple/foundationdb · GitHub for an example, which uses
Cycle
,RandomClogging
, andAttrition
workloads. - Specific workloads are implemented foundationdb/fdbserver/workloads at main · apple/foundationdb · GitHub
- A testing system, Joshua, is used to run arbitrary number of simulation tests. Typically each PR is run with 100k such correctness tests. For releases, we typically run over 1M correctness tests.
1 Like