CBG-3203: Don't store channel history for non-leaf revisions #9577
Annotations
11 errors and 1 warning
Annotate Failures:
rest/changes_api_test.go#L2219
changes_api_test.go:2219:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/changestest/changes_api_test.go:2219
Error: Received unexpected error:
Unexpected empty JSON input to body.Unmarshal
Test: TestChangesIncludeDocs
|
Annotate Failures:
rest/changes_api_test.go#L2219
changes_api_test.go:2219:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/changestest/changes_api_test.go:2219
Error: Received unexpected error:
Unexpected empty JSON input to body.Unmarshal
Test: TestChangesIncludeDocs
|
Annotate Failures:
rest/changes_api_test.go#L1961
changes_api_test.go:1961:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/changestest/changes_api_test.go:1961
Error: Received unexpected error:
unexpected end of JSON input
Test: TestOneShotChangesWithExplicitDocIds
|
Annotate Failures:
rest/changes_api_test.go#L1962
changes_api_test.go:1962:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/changestest/changes_api_test.go:1962
Error: Not equal:
expected: string("docD")
actual : <nil>(<nil>)
Test: TestOneShotChangesWithExplicitDocIds
2024-04-08T14:25:09.563Z
|
Annotate Failures:
revocation_test.go#L145
revocation_test.go:145:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/revocation_test.go:145
D:/a/sync_gateway/sync_gateway/rest/revocation_test.go:1163
Error: Received unexpected error:
RetryLoop for Wait for condition options giving up after 201 attempts
Test: TestRevocationsWithQueryLimit2Channels
|
Annotate Failures:
rest/replicator_test.go#L5391
replicator_test.go:5391:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/replicatortest/replicator_test.go:5391
Error: Received unexpected error:
expecting 2 changes, got 1
Test: TestActiveReplicatorIgnoreNoConflicts
2024-04-08T14:25:44.922Z
|
Annotate Failures:
access_test.go#L63
access_test.go:63:
Error Trace: D:/a/sync_gateway/sync_gateway/db/access_test.go:63
Error: Received unexpected error:
403 forbidden
Test: TestDynamicChannelGrant
2024-04-08T14:25:28.910Z
|
Annotate Failures:
database_test.go#L514
database_test.go:514:
Error Trace: D:/a/sync_gateway/sync_gateway/db/database_test.go:514
Error: Not equal:
expected: db.Body{"_id":"doc1", "_rev":"2-887ae37ab268774730645af84ac149bb", "_revisions":db.Revisions{"ids":[]string{"887ae37ab268774730645af84ac149bb", "b980f8ee1b0cc306ce1e6556bfb33ac3"}, "start":2}, "channels":[]string{"ABC"}, "k2":"v2"}
actual : db.Body{"_id":"doc1", "_removed":true, "_rev":"2-887ae37ab268774730645af84ac149bb", "_revisions":db.Revisions{"ids":[]string{"887ae37ab268774730645af84ac149bb", "b980f8ee1b0cc306ce1e6556bfb33ac3"}, "start":2}}
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,4 @@
-(db.Body) (len=5) {
+(db.Body) (len=4) {
(string) (len=3) "_id": (string) (len=4) "doc1",
+ (string) (len=8) "_removed": (bool) true,
(string) (len=4) "_rev": (string) (len=34) "2-887ae37ab268774730645af84ac149bb",
@@ -9,7 +10,3 @@
(string) (len=5) "start": (int) 2
- },
- (string) (len=8) "channels": ([]string) (len=1) {
- (string) (len=3) "ABC"
- },
- (string) (len=2) "k2": (string) (len=2) "v2"
+ }
}
Test: TestUncachedOldRevisionChannel
---
|
Annotate Failures:
database_test.go#L586
database_test.go:586:
Error Trace: D:/a/sync_gateway/sync_gateway/db/database_test.go:586
Error: Not equal:
expected: db.Body{"_id":"doc1", "_rev":"2-98b0e58dd5e3d2c23bbcec36458559f1", "_revisions":db.Revisions{"ids":[]string{"98b0e58dd5e3d2c23bbcec36458559f1", "f8fd91d4024e824690d5dd4f20ffbf1c"}, "start":2}, "channels":[]string{"ABC"}, "k2":"v2"}
actual : db.Body{"_id":"doc1", "_removed":true, "_rev":"2-98b0e58dd5e3d2c23bbcec36458559f1", "_revisions":db.Revisions{"ids":[]string{"98b0e58dd5e3d2c23bbcec36458559f1", "f8fd91d4024e824690d5dd4f20ffbf1c"}, "start":2}}
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,4 @@
-(db.Body) (len=5) {
+(db.Body) (len=4) {
(string) (len=3) "_id": (string) (len=4) "doc1",
+ (string) (len=8) "_removed": (bool) true,
(string) (len=4) "_rev": (string) (len=34) "2-98b0e58dd5e3d2c23bbcec36458559f1",
@@ -9,7 +10,3 @@
(string) (len=5) "start": (int) 2
- },
- (string) (len=8) "channels": ([]string) (len=1) {
- (string) (len=3) "ABC"
- },
- (string) (len=2) "k2": (string) (len=2) "v2"
+ }
}
Test: TestGetRemovalMultiChannel
---
|
Annotate Failures:
blip_api_crud_test.go#L1106
blip_api_crud_test.go:1106:
Error Trace: D:/a/sync_gateway/sync_gateway/rest/blip_api_crud_test.go:1106
C:/Users/runneradmin/go/pkg/mod/github.com/couchbase/[email protected]/context.go:304
C:/Users/runneradmin/go/pkg/mod/github.com/couchbase/[email protected]/receiver.go:276
C:/Users/runneradmin/go/pkg/mod/github.com/couchbase/[email protected]/message.go:381
C:/hostedtoolcache/windows/go/1.21.8/x64/src/runtime/asm_amd64.s:1650
Error: Should be false
Test: TestConcurrentRefreshUser
|
Run Tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: guyarb/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading