diff options
-rw-r--r-- | modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj b/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj index 7420316a..a9f364d7 100644 --- a/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj +++ b/modules/jmx/src/test/clojure/clojure/contrib/test_jmx.clj @@ -76,7 +76,8 @@ (deftest writing-attributes (let [mem "java.lang:type=Memory"] (jmx/write! mem :Verbose true) - (is (true? (jmx/raw-read mem :Verbose))) + ;; need boolean cast to fix Boolean object identity error + (is (true? (boolean (jmx/raw-read mem :Verbose)))) (jmx/write! mem :Verbose false))) (deftest test-invoke-operations |