mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
37fd4f5cfb
Summary: Add a new class for injecting faults into Eden. This will make it easier to build tests that exercise specific error conditions or specifically control the ordering of operations that might otherwise race. To minimize the performance impact, the fault injection framework is disabled by default and must be explicitly enabled at process startup using a command line flag. If this command line flag was not specified all fault injection checks short-circuit into a no-op. The `checkAsync()` version does still add some extra overhead due to the addition of a new `folly::SemiFuture` into the code path. Reviewed By: wez Differential Revision: D14079489 fbshipit-source-id: 3e8725d2e51e5c829199a602e90574424ea52636 |
||
---|---|---|
.. | ||
test-data | ||
BenchmarkMain.cpp | ||
BucketedLogTest.cpp | ||
BugTest.cpp | ||
CoverageSetTest.cpp | ||
FaultInjectorTest.cpp | ||
IDGenBenchmark.cpp | ||
IDGenTest.cpp | ||
IoFutureTest.cpp | ||
MappedDiskVectorTest.cpp | ||
PathFuncsTest.cpp | ||
PathMapTest.cpp | ||
ProcessAccessLogBenchmark.cpp | ||
ProcessAccessLogTest.cpp | ||
ProcessNameCacheBenchmark.cpp | ||
ProcessNameCacheTest.cpp | ||
ProcUtilTest.cpp | ||
ScopedEnvVar.cpp | ||
ScopedEnvVar.h | ||
UnixSocketTest.cpp |