2011-07-15 23 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

相關問題