You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I got an error when running a test (fact?<- ....), but I can run the cascalog query: (?<- ...) as normal.
Does it a midje issue or about the cascalog?
I use midje like this:
(ns my-ns
....
(:use [clojure.test])
(:use [midje.sweet])
(:use [midje.cascalog]))
FAIL "list_data" at (core.clj:76)
Actual result did not agree with the checking function.
Actual result: cascading.flow.FlowException: step failed: (1/1) ...c058ee-1ac3-4c4c-a01e-03fbdb09b405/3b2a8a04-b7c0-48b8-b72d-00718a7af6ce"]"], with job id: job_local_0014, please see cluster logs for failure messages
cascading.flow.FlowStepJob.blockOnJob(FlowStepJob.java:175)
cascading.flow.FlowStepJob.start(FlowStepJob.java:140)
cascading.flow.FlowStepJob.call(FlowStepJob.java:129)
cascading.flow.FlowStepJob.call(FlowStepJob.java:39)
Checking function: (midje.sweet/just [["abc" 17943159] ["cde" 17943159]] :in-any-order)
The checker said this about the reason:
You can't compare #<CapturedThrowable midje.error_handling.exceptions.CapturedThrowable@5043cc83> (class midje.error_handling.exceptions.CapturedThrowable) to [["abc" 17943159] ["cde" 17943159]](class clojure.lang.PersistentVector).
ERROR in (tweets-data-test) (FlowStepJob.java:175)
Uncaught exception, not in assertion.
expected: nil
actual: cascading.flow.FlowException: step failed: (2/2) ...8bb201-1d65-4d64-af69-04216f7dd7a0/49530330-137e-484b-8672-5c187e6daabc"]"], with job id: job_local_0018, please see cluster logs for failure messages
at cascading.flow.FlowStepJob.blockOnJob (FlowStepJob.java:175)
cascading.flow.FlowStepJob.start (FlowStepJob.java:140)
cascading.flow.FlowStepJob.call (FlowStepJob.java:129)
cascading.flow.FlowStepJob.call (FlowStepJob.java:39)
java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run (FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
java.lang.Thread.run (Thread.java:662)
The text was updated successfully, but these errors were encountered:
Hi, I got an error when running a test (fact?<- ....), but I can run the cascalog query: (?<- ...) as normal.
Does it a midje issue or about the cascalog?
I use midje like this:
(ns my-ns
....
(:use [clojure.test])
(:use [midje.sweet])
(:use [midje.cascalog]))
FAIL "list_data" at (core.clj:76)
Actual result did not agree with the checking function.
Actual result: cascading.flow.FlowException: step failed: (1/1) ...c058ee-1ac3-4c4c-a01e-03fbdb09b405/3b2a8a04-b7c0-48b8-b72d-00718a7af6ce"]"], with job id: job_local_0014, please see cluster logs for failure messages
cascading.flow.FlowStepJob.blockOnJob(FlowStepJob.java:175)
cascading.flow.FlowStepJob.start(FlowStepJob.java:140)
cascading.flow.FlowStepJob.call(FlowStepJob.java:129)
cascading.flow.FlowStepJob.call(FlowStepJob.java:39)
Checking function: (midje.sweet/just [["abc" 17943159] ["cde" 17943159]] :in-any-order)
The checker said this about the reason:
You can't compare #<CapturedThrowable midje.error_handling.exceptions.CapturedThrowable@5043cc83> (class midje.error_handling.exceptions.CapturedThrowable) to [["abc" 17943159] ["cde" 17943159]](class clojure.lang.PersistentVector).
ERROR in (tweets-data-test) (FlowStepJob.java:175)
Uncaught exception, not in assertion.
expected: nil
actual: cascading.flow.FlowException: step failed: (2/2) ...8bb201-1d65-4d64-af69-04216f7dd7a0/49530330-137e-484b-8672-5c187e6daabc"]"], with job id: job_local_0018, please see cluster logs for failure messages
at cascading.flow.FlowStepJob.blockOnJob (FlowStepJob.java:175)
cascading.flow.FlowStepJob.start (FlowStepJob.java:140)
cascading.flow.FlowStepJob.call (FlowStepJob.java:129)
cascading.flow.FlowStepJob.call (FlowStepJob.java:39)
java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run (FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
java.lang.Thread.run (Thread.java:662)
The text was updated successfully, but these errors were encountered: