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:
Simon Law
2025-08-04 11:36:28 -07:00
parent afebdddcd5
commit 0c6bf30585

View File

@@ -5054,7 +5054,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
wantName: "peer1",
},
{
name: "suggest-exit-node-stable-pick",
name: "exit-node-stable-pick",
netMap: &netmap.NetworkMap{
SelfNode: selfNode.View(),
Peers: []tailcfg.NodeView{
@@ -5199,7 +5199,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
wantPri: 2,
},
{
name: "suggested-exit-node-with-city",
name: "exit-node-with-city",
netMap: &netmap.NetworkMap{
SelfNode: selfNode.View(),
Peers: []tailcfg.NodeView{
@@ -5214,7 +5214,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
wantLoc: city,
},
{
name: "suggested-exit-node-with-city-and-priority",
name: "exit-node-with-city-and-priority",
netMap: &netmap.NetworkMap{
SelfNode: selfNode.View(),
Peers: []tailcfg.NodeView{
@@ -5231,7 +5231,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
wantPri: 1,
},
{
name: "suggested-exit-node-without-latlng",
name: "exit-node-without-latlng",
netMap: &netmap.NetworkMap{
SelfNode: selfNode.View(),
Peers: []tailcfg.NodeView{
@@ -5246,7 +5246,7 @@ func TestSuggestExitNodeTrafficSteering(t *testing.T) {
wantLoc: noLatLng,
},
{
name: "suggested-exit-node-without-latlng-with-priority",
name: "exit-node-without-latlng-with-priority",
netMap: &netmap.NetworkMap{
SelfNode: selfNode.View(),
Peers: []tailcfg.NodeView{