2011-07-15 22 views
4

我在附件和attachment_paths的蒲团测试套件中出现错误,似乎无法找到任何有关潜在原因的信息。有任何想法吗?我会粘贴下面的错误,以防万一。我在哪里可以找到关于特定CouchDB测试错误的更多信息?

附件错误:

Assertion failed: binAttDoc2._attachments["foo2.txt"].content_type == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 
Assertion failed: xhr.getResponseHeader("Content-Type") == "text/plain;charset=utf-8" 

attachment_paths错误:

Assertion failed: binAttDoc._attachments["foo/bar2.txt"].content_type == "text/plain;charset=utf-8" 
Assertion failed: binAttDoc._attachments["foo/bar2.txt"].content_type == "text/plain;charset=utf-8" 
Assertion failed: binAttDoc._attachments["foo/bar2.txt"].content_type == "text/plain;charset=utf-8" 
Assertion failed: binAttDoc._attachments["foo/bar2.txt"].content_type == "text/plain;charset=utf-8" 

回答

4

你最好张贴这些对CouchDB的@user列表,或者要求在IRC上。由于浏览器JS实现中存在特殊情况,并且有时会出现错误,所以测试套件故障通常与CouchDB无关。

我通常运行从隐私模式的测试套件,以确保高速缓存,饼干,登录等不污染每个测试运行。

一旦主测试完成后,我手动重新运行任何故障。

以上报告的错误长得挺像你的浏览器,它发出了一个不同的页眉设置为CouchDB的比通常预计运行某种形式的JSON prettyprinter的。

+0

是的,它似乎与浏览器相关。这是在Chrome中。我尝试了FF4,一切都通过了w /飞行的颜色。仍然围绕着这一切,但你的回答对我给予我寻求进一步的帮助非常有帮助。谢谢! – binaryorganic

+0

这里的结果相同,在firefox(osx,firefox 18.02,couchdb 1.2.1)中运行测试,所有通过,safari和chrome失败。 – Jim

相关问题