Skip to content

Commit

Permalink
Disable cloverage, for now.
Browse files Browse the repository at this point in the history
Something in the code coverage instrumentation seems not to work jointly
with Java Interop and classloading:

  actual: java.lang.LinkageError: loader constraint violation: when resolving method 'java.lang.AutoCloseable bowerick.JmsController.createJsonConsumer(java.lang.String, java.lang.String, bowerick.JmsConsumerCallback, int)' the class loader clojure.lang.DynamicClassLoader @3df99d5e of the current class, bowerick/test/java_interop$fn__5146, and the class loader 'app' for the method's defining class, bowerick/JmsController, have different Class objects for the type bowerick/JmsConsumerCallback used in the signature (bowerick.test.java_interop$fn__5146 is in unnamed module of loader clojure.lang.DynamicClassLoader @3df99d5e, parent loader clojure.lang.DynamicClassLoader @5d95c7c2; bowerick.JmsController is in unnamed module of loader 'app')
 at bowerick.test.java_interop$fn__5146.invokeStatic (java_interop.clj:96)
  • Loading branch information
ruedigergad committed Dec 31, 2023
1 parent e90f7ef commit 2650a00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "project.clj" }}
- run: 'lein cloverage -t "bowerick.test.*" -e "bowerick.JmsController"'
- coveralls/upload
- run: 'lein test'
# - run: 'lein cloverage -t "bowerick.test.*" -e "bowerick.JmsController"'
# - coveralls/upload

workflows:
run_tests:
Expand Down

0 comments on commit 2650a00

Please sign in to comment.