File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
1414
1515 "github.com/couchbase/sync_gateway/base"
1616 "github.com/couchbase/sync_gateway/channels"
17+ "github.com/couchbase/sync_gateway/db"
1718 "github.com/couchbase/sync_gateway/rest"
1819 "github.com/stretchr/testify/assert"
1920 "github.com/stretchr/testify/require"
@@ -22,6 +23,11 @@ import (
2223func TestUserXattrRevCache (t * testing.T ) {
2324 base .SetUpTestLogging (t , base .LevelDebug , base .KeyAll )
2425
26+ // need to disable sequence batching given two rest testers allocating sequence batches
27+ // can mean that the changes feed has to wait for sequences from another to be released to
28+ // maintain ordering
29+ defer db .SuspendSequenceBatching ()()
30+
2531 ctx := base .TestCtx (t )
2632 docKey := t .Name ()
2733 xattrKey := "channels"
@@ -49,7 +55,6 @@ func TestUserXattrRevCache(t *testing.T) {
4955
5056 rt2 := rest .NewRestTester (t , & rest.RestTesterConfig {
5157 CustomTestBucket : tb .NoCloseClone (),
52-
5358 DatabaseConfig : & rest.DatabaseConfig {DbConfig : rest.DbConfig {
5459 AutoImport : true ,
5560 UserXattrKey : & xattrKey ,
You can’t perform that action at this time.
0 commit comments