mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-24 16:41:30 +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
|
||||
},
|
||||
"ProxyMeta": {
|
||||
"Embedded": true
|
||||
"Embedded": true,
|
||||
"Cluster": "cluster-1.netbird.services"
|
||||
},
|
||||
"Location": {
|
||||
"CountryCode": "DE",
|
||||
@@ -98,7 +99,8 @@
|
||||
"SyncMessageVersion": 0
|
||||
},
|
||||
"ProxyMeta": {
|
||||
"Embedded": true
|
||||
"Embedded": true,
|
||||
"Cluster": "cluster-2.netbird.services"
|
||||
},
|
||||
"Location": {
|
||||
"CountryCode": "DE",
|
||||
@@ -151,7 +153,8 @@
|
||||
"SyncMessageVersion": 1
|
||||
},
|
||||
"ProxyMeta": {
|
||||
"Embedded": true
|
||||
"Embedded": true,
|
||||
"Cluster": "cluster-3.netbird.services"
|
||||
},
|
||||
"Location": {
|
||||
"CountryCode": "DE",
|
||||
@@ -512,5 +515,6 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"PrivateServiceCandidates": null
|
||||
"PrivateServiceCandidates": null,
|
||||
"Services": null
|
||||
}
|
||||
@@ -61,6 +61,7 @@ func TestGetPeers(t *testing.T) {
|
||||
},
|
||||
ProxyMeta: nmdata.ProxyMeta{
|
||||
Embedded: true,
|
||||
Cluster: "cluster-1.netbird.services",
|
||||
},
|
||||
Location: nmdata.PeerLocation{
|
||||
CountryCode: "DE",
|
||||
@@ -102,6 +103,7 @@ func TestGetPeers(t *testing.T) {
|
||||
},
|
||||
ProxyMeta: nmdata.ProxyMeta{
|
||||
Embedded: true,
|
||||
Cluster: "cluster-2.netbird.services",
|
||||
},
|
||||
Location: nmdata.PeerLocation{
|
||||
CountryCode: "DE",
|
||||
@@ -143,6 +145,7 @@ func TestGetPeers(t *testing.T) {
|
||||
},
|
||||
ProxyMeta: nmdata.ProxyMeta{
|
||||
Embedded: true,
|
||||
Cluster: "cluster-3.netbird.services",
|
||||
},
|
||||
Location: nmdata.PeerLocation{
|
||||
CountryCode: "DE",
|
||||
|
||||
Reference in New Issue
Block a user