Skip to content
Browse files

Make tests 3 times faster.

  • Loading branch information...
1 parent 7bc351d commit 3f061dc50242bc681ff2567167e2779c491cffdf @mmcgrana mmcgrana committed Mar 7, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/clj/cascading/clojure/api.clj
View
3 src/clj/cascading/clojure/api.clj
@@ -199,9 +199,10 @@
(let [props (Properties.)]
(when jar-path
(FlowConnector/setApplicationJarPath props jar-path))
+ (.setProperty props "mapred.used.genericoptionsparser" "true")
+ (.setProperty props "cascading.flow.job.pollinginterval" "200")
(doseq [[k v] config]
(.setProperty props k v))
- (.setProperty props "mapred.used.genericoptionsparser" "true")
(let [flow-connector (FlowConnector. props)]
(try
(.connect flow-connector source-map sink pipe)

0 comments on commit 3f061dc

Please sign in to comment.
Something went wrong with that request. Please try again.