Disable distributed mutex test for valgrind_test (#6553)

Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/6553

Test Plan:
```
$ make valgrind_test -j24
$ ./folly_synchronization_distributed_mutex_test
DistributedMutex is not supported in ROCKSDB_LITE, on ARM, or in valgrind_test runs
```

Reviewed By: pdillinger

Differential Revision: D20501966

Pulled By: ltamasi

fbshipit-source-id: 386ec5f258f89d0781a36c5b390c665787093a74
This commit is contained in:
Levi Tamasi 2020-03-18 09:21:00 -07:00 committed by Facebook GitHub Bot
parent 712bc4b6a2
commit 1df9b01680

View File

@ -13,7 +13,8 @@
#include <gtest/gtest.h>
#endif
#if !defined(ROCKSDB_LITE) && !defined(__ARM_ARCH)
#if !defined(ROCKSDB_LITE) && !defined(__ARM_ARCH) && \
!defined(ROCKSDB_VALGRIND_RUN)
#include <chrono>
#include <cmath>
@ -1136,7 +1137,9 @@ int main(int argc, char** argv) {
#else
int main(int /*argc*/, char** /*argv*/) {
printf("DistributedMutex is not supported in ROCKSDB_LITE or on ARM\n");
printf(
"DistributedMutex is not supported in ROCKSDB_LITE, on ARM, or in "
"valgrind_test runs\n");
return 0;
}
#endif // !ROCKSDB_LITE && !__ARM_ARCH
#endif // !ROCKSDB_LITE && !__ARM_ARCH && !ROCKSDB_VALGRIND_RUN