提交 ad528fe5 编写于 作者: P Peter Dillinger 提交者: Facebook Github Bot

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
上级 100b5e69
......@@ -13,7 +13,7 @@
#include <gtest/gtest.h>
#endif
#ifndef ROCKSDB_LITE
#if !defined(ROCKSDB_LITE) && !defined(__ARM_ARCH)
#include <chrono>
#include <cmath>
......@@ -1128,9 +1128,15 @@ TEST(DistributedMutex, StressBigValueReturnSixtyFourThreads) {
}
} // namespace folly
#endif // ROCKSDB_LITE
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册