Skip to content

Commit

Permalink
Disable folly_synchronization_distributed_mutex_test on ARM for now (f…
Browse files Browse the repository at this point in the history
…acebook#6126)

Summary:
This test is crashing on ARM but is not yet production code.
Let's not let it block ARM CI. See PR facebook#5932
Pull Request resolved: facebook#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
  • Loading branch information
pdillinger authored and facebook-github-bot committed Dec 5, 2019
1 parent 100b5e6 commit ad528fe
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <gtest/gtest.h>
#endif

#ifndef ROCKSDB_LITE
#if !defined(ROCKSDB_LITE) && !defined(__ARM_ARCH)

#include <chrono>
#include <cmath>
Expand Down Expand Up @@ -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

0 comments on commit ad528fe

Please sign in to comment.