diff --git a/e2e/tcproute_test.go b/e2e/tcproute_test.go index f7a5acb4..3cb01b8c 100644 --- a/e2e/tcproute_test.go +++ b/e2e/tcproute_test.go @@ -432,3 +432,11 @@ func processGraphAndExpectActions(t *testing.T, graphBuilder *rgraph.Builder, ex t.Logf("exec got Result.Errors len(%d) =\n%v", len(res.Errors), res.Errors) t.Logf("exec got Result.Pending len(%d) =\n%v", len(res.Pending), res.Pending) } + +func defaultNetworkURL() string { + return cloud.NewNetworksResourceID(testFlags.project, "default").SelfLink(meta.VersionGA) +} + +func defaultSubnetworkURL() string { + return cloud.NewSubnetworksResourceID(testFlags.project, region, "default").SelfLink(meta.VersionGA) +} diff --git a/e2e/test-helpers.go b/e2e/test-helpers.go index 17803044..8c3faa2b 100644 --- a/e2e/test-helpers.go +++ b/e2e/test-helpers.go @@ -127,11 +127,3 @@ Outer: t.Fatalf("Rule ServiceName %s, not found in expected: %v", rule.Action.Destinations[0].ServiceName, svcIds) } } - -func defaultNetworkURL() string { - return cloud.NewNetworksResourceID(testFlags.project, "default").SelfLink(meta.VersionGA) -} - -func defaultSubnetworkURL() string { - return cloud.NewSubnetworksResourceID(testFlags.project, region, "default").SelfLink(meta.VersionGA) -}