Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute tests on M1 Mac #72

Open
yito88 opened this issue May 17, 2022 · 0 comments
Open

Execute tests on M1 Mac #72

yito88 opened this issue May 17, 2022 · 0 comments

Comments

@yito88
Copy link
Member

yito88 commented May 17, 2022

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 old jna doesn't support aarch64
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"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant