vision: use t.SystemTest for endpoint test
Updates
@@ -20,11 +20,14 @@ import (
"testing"
vision "cloud.google.com/go/vision/apiv1"
+ "github.com/GoogleCloudPlatform/golang-samples/internal/testutil"
"google.golang.org/api/option"
visionpb "google.golang.org/genproto/googleapis/cloud/vision/v1"
)
func TestSetEndpoint(t *testing.T) {
+ testutil.SystemTest(t)
+
const endpoint = "eu-vision.googleapis.com:443"
// Run the code sample to check for errors.
