Fix duplicate UnmarshalJSON func for SyncData #9576
Annotations
11 errors and 1 warning
Run Tests
Process completed with exit code 1.
|
Annotate Failures:
access_test.go#L63
access_test.go:63:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/db/access_test.go:63
Error: Received unexpected error:
403 forbidden
Test: TestDynamicChannelGrant
2024-04-08T14:21:08.146Z
|
Annotate Failures:
database_test.go#L514
database_test.go:514:
Error Trace: /home/runner/work/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: /home/runner/work/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:
rest/changes_api_test.go#L1961
changes_api_test.go:1961:
Error Trace: /home/runner/work/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: /home/runner/work/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:21:17.823Z
|
Annotate Failures:
rest/changes_api_test.go#L2219
changes_api_test.go:2219:
Error Trace: /home/runner/work/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: /home/runner/work/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:
blip_api_crud_test.go#L1782
blip_api_crud_test.go:1782:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/blip_api_crud_test.go:1782
Error: Should be false
Test: TestGetRemovedDoc
2024-04-08T14:21:20.658Z
|
Annotate Failures:
rest/blip_api_delta_sync_test.go#L523
blip_api_delta_sync_test.go:523:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/blip_api_delta_sync_test.go:523
/home/runner/work/sync_gateway/sync_gateway/rest/blip_client_test.go:615
Error: "{\"_removed\":true}" does not contain "\"channels\":[\"public\"]"
Test: TestBlipDeltaSyncPullTombstoned/revTree
|
Annotate Failures:
rest/blip_api_delta_sync_test.go#L524
blip_api_delta_sync_test.go:524:
Error Trace: /home/runner/work/sync_gateway/sync_gateway/rest/blip_api_delta_sync_test.go:524
/home/runner/work/sync_gateway/sync_gateway/rest/blip_client_test.go:615
Error: "{\"_removed\":true}" does not contain "\"greetings\":[{\"hello\":\"world!\"}]"
Test: TestBlipDeltaSyncPullTombstoned/revTree
2024-04-08T14:21:25.678Z
|
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