mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-13 22:47:30 +00:00
ipn/ipnlocal/local_test: rename subtests in TestSuggestExitNodeTrafficSteering
Updates tailscale/corp#31011 Signed-off-by: Simon Law <sfllaw@tailscale.com>
This commit is contained in:
@@ -5054,7 +5054,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
|
|||||||
wantName: "peer1",
|
wantName: "peer1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggest-exit-node-stable-pick",
|
name: "exit-node-stable-pick",
|
||||||
netMap: &netmap.NetworkMap{
|
netMap: &netmap.NetworkMap{
|
||||||
SelfNode: selfNode.View(),
|
SelfNode: selfNode.View(),
|
||||||
Peers: []tailcfg.NodeView{
|
Peers: []tailcfg.NodeView{
|
||||||
@@ -5199,7 +5199,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
|
|||||||
wantPri: 2,
|
wantPri: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggested-exit-node-with-city",
|
name: "exit-node-with-city",
|
||||||
netMap: &netmap.NetworkMap{
|
netMap: &netmap.NetworkMap{
|
||||||
SelfNode: selfNode.View(),
|
SelfNode: selfNode.View(),
|
||||||
Peers: []tailcfg.NodeView{
|
Peers: []tailcfg.NodeView{
|
||||||
@@ -5214,7 +5214,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
|
|||||||
wantLoc: city,
|
wantLoc: city,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggested-exit-node-with-city-and-priority",
|
name: "exit-node-with-city-and-priority",
|
||||||
netMap: &netmap.NetworkMap{
|
netMap: &netmap.NetworkMap{
|
||||||
SelfNode: selfNode.View(),
|
SelfNode: selfNode.View(),
|
||||||
Peers: []tailcfg.NodeView{
|
Peers: []tailcfg.NodeView{
|
||||||
@@ -5231,7 +5231,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
|
|||||||
wantPri: 1,
|
wantPri: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggested-exit-node-without-latlng",
|
name: "exit-node-without-latlng",
|
||||||
netMap: &netmap.NetworkMap{
|
netMap: &netmap.NetworkMap{
|
||||||
SelfNode: selfNode.View(),
|
SelfNode: selfNode.View(),
|
||||||
Peers: []tailcfg.NodeView{
|
Peers: []tailcfg.NodeView{
|
||||||
@@ -5246,7 +5246,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
|
|||||||
wantLoc: noLatLng,
|
wantLoc: noLatLng,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggested-exit-node-without-latlng-with-priority",
|
name: "exit-node-without-latlng-with-priority",
|
||||||
netMap: &netmap.NetworkMap{
|
netMap: &netmap.NetworkMap{
|
||||||
SelfNode: selfNode.View(),
|
SelfNode: selfNode.View(),
|
||||||
Peers: []tailcfg.NodeView{
|
Peers: []tailcfg.NodeView{
|
||||||
|
Reference in New Issue
Block a user