Zatvobor / ember-couchdb-kit

An Ember.js adapter for Apache CouchDB
MIT License
43 stars 13 forks source link

Jasmine specs all fail with timeout: timed out after 3000 msec waiting for model #84

Closed blainehansen closed 10 years ago

blainehansen commented 10 years ago

I don't know if this is a proper way to ask questions about implementation specific problems or help, but I've asked the following SO question:

http://stackoverflow.com/questions/19665625/ember-couchdb-kit-fails-all-jasmine-specs

and I'd like some help, or a direction to more detailed documentation on your library. I like it and it fits my needs, but I'm not sure how to get help on my problems.

OpakAlex commented 10 years ago

Hello! You are using couchdb with CORS support?

blainehansen commented 10 years ago

I switched on enable_cors to true and origins to *, and most of them pass now, but there are still some fails. How should I share the results with you?

Also, if it matters, I am running my couchdb on a reverse proxy on /_couch/, but curl requests to http://localhost:5984/ still work. I don't think that's an issue.

OpakAlex commented 10 years ago

are you using couchdb from master branch?

blainehansen commented 10 years ago

I believe so. I compiled from source, and here's the output from the root curl request:

{"couchdb":"Welcome","uuid":"f5fffa6984a308a86731dbefb512d0c0","version":"1.4.0","vendor":{"name":"The Apache Software Foundation","version":"1.4.0"}}

blainehansen commented 10 years ago

Here's a pastebin to my jasmine results. A screenshot wouldn't have covered them all: http://pastebin.com/6zXDY6z3

OpakAlex commented 10 years ago

If you run couchdb with flag -i you can see some errors in couchdb console.

OpakAlex commented 10 years ago

It's fixed in release couchdb candidate

blainehansen commented 10 years ago

Hm. When I installed couchdb with apt-get it was version 1.2, which didn't have any cors support, so I upgraded. I'll mess around with this and get back to you.

OpakAlex commented 10 years ago

why you can not install 1.3 version? in master you can run tests with control + f5 in your browser