Closed lordbuddha closed 10 years ago
And, thank you!
That missing semicolon I think is on your branch master not mine....
I still see tests failures even after correcting that. Need to investigate if this may be stale DB state somewhere:
org.quartz.SchedulerConfigException: Error while initializing the indexes
at com.novemberain.quartz.mongodb.MongoDBJobStore.ensureIndexes (MongoDBJobStore.java:975)
com.novemberain.quartz.mongodb.MongoDBJobStore.initialize (MongoDBJobStore.java:78)
com.novemberain.quartz_mongodb.test.units_test$make_store.invoke (units_test.clj:37)
com.novemberain.quartz_mongodb.test.units_test/fn (units_test.clj:432)
…
Caused by: com.mongodb.CommandFailureException: { "serverUsed" : "/127.0.0.1:27017" , "ok" : 0.0 , "errmsg" : "index not found"}
at com.mongodb.CommandResult.getException (CommandResult.java:71)
com.mongodb.CommandResult.throwOnError (CommandResult.java:110)
com.mongodb.DBCollection.dropIndexes (DBCollection.java:847)
com.mongodb.DBCollection.dropIndex (DBCollection.java:1349)
com.novemberain.quartz.mongodb.MongoDBJobStore.ensureIndexes (MongoDBJobStore.java:971)
com.novemberain.quartz.mongodb.MongoDBJobStore.initialize (MongoDBJobStore.java:78)
I did not get that. Ahhh, perhaps the second time it is run when the old index has already been removed.
Give me a mo, will wrap in a try catch.
Fixed by #50.
There appears to be a typo that fails compilation. Please correct it and push to the same branch (the PR will be updated and re-tested automatically).