tests: Cleanup endpoints

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2023-03-30 17:26:41 +02:00
parent 7c7f636aea
commit 0cbd56e8b6
25 changed files with 53 additions and 67 deletions

View File

@ -36,7 +36,7 @@ var lazyCluster = integration.NewLazyClusterWithConfig(
WatchProgressNotifyInterval: 200 * time.Millisecond,
DisableStrictReconfigCheck: true})
func exampleEndpoints() []string { return lazyCluster.EndpointsV3() }
func exampleEndpoints() []string { return lazyCluster.EndpointsGRPC() }
func forUnitTestsRunInMockedContext(_ func(), example func()) {
// For integration tests runs in the provided environment