Disable folly_synchronization_distributed_mutex_test on ARM for now (#6126)

Summary:
This test is crashing on ARM but is not yet production code.
Let's not let it block ARM CI. See PR https://github.com/facebook/rocksdb/issues/5932
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6126

Test Plan:
./folly_synchronization_distributed_mutex_test, on Linux/ARM,
on Linux/x86_64, and with LITE=1 on Linux/x86_64 (also disabled)

Differential Revision: D18836576

Pulled By: pdillinger

fbshipit-source-id: d8a36eea2f048e8330411d994435d1c58a15d978
This commit is contained in:
Peter Dillinger 2019-12-05 15:45:44 -08:00 committed by Facebook Github Bot
parent 100b5e69f3
commit ad528fe5ca
1 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#endif #endif
#ifndef ROCKSDB_LITE #if !defined(ROCKSDB_LITE) && !defined(__ARM_ARCH)
#include <chrono> #include <chrono>
#include <cmath> #include <cmath>
@ -1128,9 +1128,15 @@ TEST(DistributedMutex, StressBigValueReturnSixtyFourThreads) {
} }
} // namespace folly } // namespace folly
#endif // ROCKSDB_LITE
int main(int argc, char** argv) { int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }
#else
int main(int /*argc*/, char** /*argv*/) {
printf("DistributedMutex is not supported in ROCKSDB_LITE or on ARM\n");
return 0;
}
#endif // !ROCKSDB_LITE && !__ARM_ARCH