Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failed with fact?<- #6

Open
gihnius opened this issue Jul 3, 2012 · 0 comments
Open

test failed with fact?<- #6

gihnius opened this issue Jul 3, 2012 · 0 comments

Comments

@gihnius
Copy link

gihnius commented Jul 3, 2012

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant