This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-23
Channels
- # bangalore-clj (5)
- # beginners (136)
- # boot (1)
- # bristol-clojurians (6)
- # cider (46)
- # cljs-dev (172)
- # cljsrn (35)
- # clojure (82)
- # clojure-china (2)
- # clojure-dev (9)
- # clojure-dusseldorf (1)
- # clojure-finland (15)
- # clojure-italy (54)
- # clojure-norway (4)
- # clojure-russia (6)
- # clojure-spec (19)
- # clojure-uk (61)
- # clojurebridge (1)
- # clojurescript (55)
- # community-development (23)
- # cursive (7)
- # datomic (19)
- # emacs (10)
- # events (4)
- # fulcro (108)
- # graphql (7)
- # hoplon (1)
- # leiningen (7)
- # lumo (14)
- # off-topic (68)
- # onyx (23)
- # parinfer (8)
- # portkey (40)
- # precept (11)
- # re-frame (5)
- # reagent (40)
- # ring-swagger (5)
- # shadow-cljs (58)
- # specter (5)
- # tools-deps (37)
- # unrepl (13)
- # vim (9)
- # yada (12)
That worked. In openjdk:9 I got: Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
root@e01c1c54f80f:/# time clojure -e "(System/getProperty \"java.version\")"
"1.8.0_162"
real 0m1.367s
user 0m1.260s
sys 0m0.680s
root@32fd769f2834:/# time clojure -e “(System/getProperty \“java.version\“)”
“10"
real 0m1.178s
user 0m1.490s
sys 0m0.480s
@dominicm sorry for non-response above - I saw it but got distracted before answering and then the notifier was gone so forgot about it. :) I don’t test the linux installer very well (just in a vm) and would appreciate any help in making it better.
@borkdude if you’re trying to compare times, make sure that you’re comparing cached classpath in both cases by running more than once
they mentioned that jvm startup times should be expected to be better in java 10 than java 9
Possibly the SSL error is this? https://github.com/docker-library/openjdk/issues/145
I’m comparing 8 and 9 here with just vanilla clojure after it downloaded the bootstrap dependencies
it’s very easy to spin up a Docker: docker run -it openjdk:10 /bin/bash
and then do the clj linux installer
What are you trying to test?
I'm trying to use tools.deps
instead of lein
. I just want to run test like lein test
.
Check out the test-runner project
Other useful tools
when I use git/url
, met an error
org.eclipse.jgit.api.errors.TransportException: [email protected]:cognitect-labs/test-runner: UnknownHostKey: . RSA key fingerprint is
I just have get the :sha
with git rev-parse HEAD
.@ghadi had a list of git connection issues in the back chat
In this case looks like maybe you’re using the ssh url when the https would be better
otherwise try ssh-keyscan -H
(I'm a bit surprised that http://github.com isn't in known_hosts -- perhaps you're containerized?)
I will update the test-runner read me to use https too
No reason for an ssh url there
I opened an issue for that @alexmiller
nvm, I see it
@doglooksgood take a look at the deps.edn
file in each of core.cache, core.memoize, and java.jdbc for examples of multiversion testing with clj
and test-runner
-- I recently converted all of those from Leiningen.