michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Catch exceptions if the old indexes already removed #50

Closed lordbuddha closed 10 years ago

michaelklishin commented 10 years ago

I confirm that the issue mentioned in #49 is gone now. Still have 2 failures, will investigate them in the next few days.

lordbuddha commented 10 years ago

Note we are now running our dev mongo server with --notablescan without issue.

lordbuddha commented 10 years ago

Are the failed tests sensitive to the key field order ?

(let [m (mgc/find-one-as-map triggers-collection {"keyName" "test-pause-jobs1"
                                                  "keyGroup" "main-tests"})]

Don't know Clojure, but it looks nice.

michaelklishin commented 10 years ago

Ah, yes. Map literals in Clojure produce hash maps. We should switch to clojure.core/array-map which is ordered. Thanks for spotting this!