mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 05:49:07 +02:00
update tests to expect cluster names in proxy meta
Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
@@ -45,7 +45,8 @@
|
|||||||
"SyncMessageVersion": 1
|
"SyncMessageVersion": 1
|
||||||
},
|
},
|
||||||
"ProxyMeta": {
|
"ProxyMeta": {
|
||||||
"Embedded": true
|
"Embedded": true,
|
||||||
|
"Cluster": "cluster-1.netbird.services"
|
||||||
},
|
},
|
||||||
"Location": {
|
"Location": {
|
||||||
"CountryCode": "DE",
|
"CountryCode": "DE",
|
||||||
@@ -98,7 +99,8 @@
|
|||||||
"SyncMessageVersion": 0
|
"SyncMessageVersion": 0
|
||||||
},
|
},
|
||||||
"ProxyMeta": {
|
"ProxyMeta": {
|
||||||
"Embedded": true
|
"Embedded": true,
|
||||||
|
"Cluster": "cluster-2.netbird.services"
|
||||||
},
|
},
|
||||||
"Location": {
|
"Location": {
|
||||||
"CountryCode": "DE",
|
"CountryCode": "DE",
|
||||||
@@ -151,7 +153,8 @@
|
|||||||
"SyncMessageVersion": 1
|
"SyncMessageVersion": 1
|
||||||
},
|
},
|
||||||
"ProxyMeta": {
|
"ProxyMeta": {
|
||||||
"Embedded": true
|
"Embedded": true,
|
||||||
|
"Cluster": "cluster-3.netbird.services"
|
||||||
},
|
},
|
||||||
"Location": {
|
"Location": {
|
||||||
"CountryCode": "DE",
|
"CountryCode": "DE",
|
||||||
@@ -512,5 +515,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"PrivateServiceCandidates": null
|
"PrivateServiceCandidates": null,
|
||||||
|
"Services": null
|
||||||
}
|
}
|
||||||
@@ -61,6 +61,7 @@ func TestGetPeers(t *testing.T) {
|
|||||||
},
|
},
|
||||||
ProxyMeta: nmdata.ProxyMeta{
|
ProxyMeta: nmdata.ProxyMeta{
|
||||||
Embedded: true,
|
Embedded: true,
|
||||||
|
Cluster: "cluster-1.netbird.services",
|
||||||
},
|
},
|
||||||
Location: nmdata.PeerLocation{
|
Location: nmdata.PeerLocation{
|
||||||
CountryCode: "DE",
|
CountryCode: "DE",
|
||||||
@@ -102,6 +103,7 @@ func TestGetPeers(t *testing.T) {
|
|||||||
},
|
},
|
||||||
ProxyMeta: nmdata.ProxyMeta{
|
ProxyMeta: nmdata.ProxyMeta{
|
||||||
Embedded: true,
|
Embedded: true,
|
||||||
|
Cluster: "cluster-2.netbird.services",
|
||||||
},
|
},
|
||||||
Location: nmdata.PeerLocation{
|
Location: nmdata.PeerLocation{
|
||||||
CountryCode: "DE",
|
CountryCode: "DE",
|
||||||
@@ -143,6 +145,7 @@ func TestGetPeers(t *testing.T) {
|
|||||||
},
|
},
|
||||||
ProxyMeta: nmdata.ProxyMeta{
|
ProxyMeta: nmdata.ProxyMeta{
|
||||||
Embedded: true,
|
Embedded: true,
|
||||||
|
Cluster: "cluster-3.netbird.services",
|
||||||
},
|
},
|
||||||
Location: nmdata.PeerLocation{
|
Location: nmdata.PeerLocation{
|
||||||
CountryCode: "DE",
|
CountryCode: "DE",
|
||||||
|
|||||||
Reference in New Issue
Block a user