You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (Commented) (JIRA)" <ji...@apache.org> on 2012/01/17 15:01:40 UTC
[jira] [Commented] (COUCHDB-1379) Extend attachment etag checking
for compressible data types in test suite
[ https://issues.apache.org/jira/browse/COUCHDB-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187692#comment-13187692 ]
Filipe Manana commented on COUCHDB-1379:
----------------------------------------
Dave you might want to try the following patch and see if with it, both Windows and other OSes produce exactly the same gzip output:
https://github.com/couchbase/couchdb/commit/a7099de2192e428558645a05188f279691a2ea0c
At the moment I don't have a Windows box to test it.
> Extend attachment etag checking for compressible data types in test suite
> --------------------------------------------------------------------------
>
> Key: COUCHDB-1379
> URL: https://issues.apache.org/jira/browse/COUCHDB-1379
> Project: CouchDB
> Issue Type: Test
> Components: Database Core
> Affects Versions: 1.2
> Reporter: Dave Cottlehuber
> Assignee: Dave Cottlehuber
> Priority: Trivial
> Labels: testsuite
> Fix For: 1.2.1
>
>
> Ref COUCHDB-1337 and subsequent 8d83b3 on 1.2.0/12.x branch. etag testing
> was extended to validate the digest returned by CouchDB for attachments.
> Compressed attachments do not produce a consistent digest across platforms, due
> to differing compression algorithms between Mac/Linux and Windows.
> The test suite should confirm that etags only change when the attachment is updated,
> and are otherwise consistent.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira