Skip to content

Commit

Permalink
PR FIXUP - Note node in update cid descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Nov 18, 2024
1 parent 8b7e88b commit 8a9f166
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/integration/query/commits/branchables/peer_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ func TestQueryCommitsBranchables_HandlesConcurrentUpdatesAcrossPeerConnection(t
Results: map[string]any{
"commits": []map[string]any{
{
"cid": testUtils.NewUniqueCid("collection, update3"),
"cid": testUtils.NewUniqueCid("collection, node0 update3"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("collection, update2"),
"cid": testUtils.NewUniqueCid("collection, node1 update2"),
},
{
"cid": testUtils.NewUniqueCid("collection, node1 update1"),
},
{
"cid": testUtils.NewUniqueCid("doc, update3"),
"cid": testUtils.NewUniqueCid("doc, node0 update3"),
},
},
},
Expand All @@ -121,13 +121,13 @@ func TestQueryCommitsBranchables_HandlesConcurrentUpdatesAcrossPeerConnection(t
},
},
{
"cid": testUtils.NewUniqueCid("collection, update2"),
"cid": testUtils.NewUniqueCid("collection, node1 update2"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("collection, node0 update1"),
},
{
"cid": testUtils.NewUniqueCid("doc, update2"),
"cid": testUtils.NewUniqueCid("doc, node1 update2"),
},
},
},
Expand All @@ -143,18 +143,18 @@ func TestQueryCommitsBranchables_HandlesConcurrentUpdatesAcrossPeerConnection(t
},
},
{
"cid": testUtils.NewUniqueCid("name, update3"),
"cid": testUtils.NewUniqueCid("name, node0 update3"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("name, node1 update1"),
},
{
"cid": testUtils.NewUniqueCid("name, update2"),
"cid": testUtils.NewUniqueCid("name, node1 update2"),
},
},
},
{
"cid": testUtils.NewUniqueCid("name, update2"),
"cid": testUtils.NewUniqueCid("name, node1 update2"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("name, node0 update1"),
Expand Down Expand Up @@ -182,16 +182,16 @@ func TestQueryCommitsBranchables_HandlesConcurrentUpdatesAcrossPeerConnection(t
},
},
{
"cid": testUtils.NewUniqueCid("doc, update3"),
"cid": testUtils.NewUniqueCid("doc, node0 update3"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("doc, update2"),
"cid": testUtils.NewUniqueCid("doc, node1 update2"),
},
{
"cid": testUtils.NewUniqueCid("doc, node1 update1"),
},
{
"cid": testUtils.NewUniqueCid("name, update3"),
"cid": testUtils.NewUniqueCid("name, node0 update3"),
},
},
},
Expand All @@ -215,13 +215,13 @@ func TestQueryCommitsBranchables_HandlesConcurrentUpdatesAcrossPeerConnection(t
},
},
{
"cid": testUtils.NewUniqueCid("doc, update2"),
"cid": testUtils.NewUniqueCid("doc, node1 update2"),
"links": []map[string]any{
{
"cid": testUtils.NewUniqueCid("doc, node0 update1"),
},
{
"cid": testUtils.NewUniqueCid("name, update2"),
"cid": testUtils.NewUniqueCid("name, node1 update2"),
},
},
},
Expand Down

0 comments on commit 8a9f166

Please sign in to comment.