Execute tests on M1 Mac
yito88 opened this issue · 0 comments
yito88 commented
I tried these Jepsen tests on M1 Mac. We need the following workarounds.
- Create the environment with the Docker script of Jepsen 0.2.0
- The image required by the newer script is provided for only amd64
- Modify the dependency for
jna
- Need to apply newer
jna
because the oldjna
doesn't support aarch64
- Need to apply newer
diff --git a/scalardb/project.clj b/scalardb/project.clj
index 4c8c4bf..c0e9a5a 100644
--- a/scalardb/project.clj
+++ b/scalardb/project.clj
@@ -2,7 +2,10 @@
:description "Jepsen testing for Scalar DB"
:url "https://github.com/scalar-labs/scalar-jepsen"
:dependencies [[org.clojure/clojure "1.10.1"]
- [jepsen "0.2.1"]
+ [jepsen "0.2.1" :exclusions [net.java.dev.jna/jna
+ net.java.dev.jna/jna-platform]]
+ [net.java.dev.jna/jna "5.11.0"]
+ [net.java.dev.jna/jna-platform "5.11.0"]
[cassandra "0.1.0-SNAPSHOT"]
[cc.qbits/alia "4.3.6"]
[cc.qbits/hayt "4.1.0"]]