Welcome! Please see the About page for a little more info on how this works.

0 votes
in Test by
closed by

Filed as CLJ-2685.

I got a test failure while building 1.11.0-alpha4 on my machine. The new test iteration-seq-equals-reduce fails when local src function generates an empty result, as [] does not = nil. Maybe, the test should use sequence instead of seq . This will be an intermittent failure depending on the generated values. I got “lucky”. Here’s a bit of the build log:

[java] Testing clojure.test-clojure.sequences
[java] {:result true, :num-tests 100, :seed 1642274274727, :time-elapsed-ms 3, :test-var "longrange-equals-range"}
[java] {:type :clojure.test.check.clojure-test/shrunk, :clojure.test.check.clojure-test/property #clojure.test.check.generators.Generator{:gen #object[clojure.test.check.generators$gen_fmap$fn_7717 0x7506e95a "clojure.test.check.generators$gen_fmap$fn_7717@7506e95a"]}, :clojure.test.check.clojure-test/params [-12 -44]}

[java] 

[java] FAIL in (iteration-seq-equals-reduce) (sequences.clj:1461)
[java] expected: {:result true}

[java] actual: {:shrunk {:total-nodes-visited 10, :depth 0, :pass? false, :result false, :result-data nil, :time-shrinking-ms 7, :smallest [-12 -44]}, :failed-after-ms 76, :num-tests 84, :seed 1642274274740, :fail [-12 -44], :result false, :result-data nil, :failing-size 83, :pass? false, :test-var "iteration-seq-equals-reduce"}

closed with the note: Fixed in master

1 Answer

0 votes
by
selected by
 
Best answer

Yeah, we are aware of it, will fix in master soon.

...