Update our test to page.

Add a bunch more services to our manyServices test, so that we have a
page that exercises pagination logic.
This commit is contained in:
Paddy Carver 2018-07-12 06:04:09 -07:00
parent 91790040d7
commit c998a37a83

View File

@ -185,9 +185,19 @@ func TestAccProjectServices_manyServices(t *testing.T) {
billingId := getTestBillingAccountFromEnv(t)
pid := "terraform-" + acctest.RandString(10)
services := []string{
"actions.googleapis.com",
"appengine.googleapis.com",
"appengineflex.googleapis.com",
"bigquery-json.googleapis.com",
"bigquerydatatransfer.googleapis.com",
"bigtableadmin.googleapis.com",
"bigtabletableadmin.googleapis.com",
"cloudbuild.googleapis.com",
"clouderrorreporting.googleapis.com",
"cloudfunctions.googleapis.com",
"cloudiot.googleapis.com",
"cloudkms.googleapis.com",
"cloudmonitoring.googleapis.com",
"cloudresourcemanager.googleapis.com",
"cloudtrace.googleapis.com",
"compute.googleapis.com",
@ -195,10 +205,16 @@ func TestAccProjectServices_manyServices(t *testing.T) {
"containerregistry.googleapis.com",
"dataflow.googleapis.com",
"dataproc.googleapis.com",
"datastore.googleapis.com",
"deploymentmanager.googleapis.com",
"dialogflow.googleapis.com",
"dns.googleapis.com",
"endpoints.googleapis.com",
"firebaserules.googleapis.com",
"firestore.googleapis.com",
"genomics.googleapis.com",
"iam.googleapis.com",
"language.googleapis.com",
"logging.googleapis.com",
"ml.googleapis.com",
"monitoring.googleapis.com",
@ -212,8 +228,17 @@ func TestAccProjectServices_manyServices(t *testing.T) {
"servicemanagement.googleapis.com",
"sourcerepo.googleapis.com",
"spanner.googleapis.com",
"speech.googleapis.com",
"sql-component.googleapis.com",
"storage-api.googleapis.com",
"storage-component.googleapis.com",
"storagetransfer.googleapis.com",
"testing.googleapis.com",
"toolresults.googleapis.com",
"translate.googleapis.com",
"videointelligence.googleapis.com",
"vision.googleapis.com",
"zync.googleapis.com",
}
resource.Test(t, resource.TestCase{