Add unit test for checkForUpgrade handling

Description

Requires writing bucket docs w/ xattrs, but running SG in non-xattr mode. (reverse of scenario seen in import_test.go.

Would require writing a test that's marked to run in non-xattr mode only, and do the following:

  1. Write a doc directly to the bucket w/ xattrs

  2. Attempt to update that doc using the non-xattr version of SG.

Issue migrated from: https://github.com/couchbase/sync_gateway/issues/3395

Activity

Daniel Petersen June 4, 2019 at 9:59 PM

Release is out. Closing.

CB robot February 28, 2019 at 7:47 PM

Build sync_gateway-2.5.0-239 contains sync_gateway commit 8feab2c with commit message:
CheckForUpgrade tests and fixes for read, write, feed (#3994)

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 11, 2019 at 1:25 PM
Updated June 4, 2019 at 9:59 PM
Instabug