在哪里可以找到有关特定CouchDB测试错误的更多信息?

时间:2011-07-15 01:44:28

标签: couchdb couchdb-futon

我在附件和attachment_paths上的蒲团测试套件中遇到错误,似乎无法找到有关潜在原因的任何信息。有任何想法吗?我会粘贴下面的错误,以防万一有用。

附件错误:

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"

1 个答案:

答案 0 :(得分:4)

最好将这些内容发布到CouchDB @user列表中,或者询问IRC。由于浏览器JS实现的特性,有时还有错误,测试套件故障通常与CouchDB无关。

我通常从隐私模式运行测试套件,以确保缓存,cookie,登录等不会污染每次测试运行。

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

上面报告的错误看起来很像你在浏览器中运行某种形式的JSON prettyprinter,它向CouchDB发送了一个不同于它通常预期的不同标头集。

相关问题