Skip to content

Commit

Permalink
fix(all): unskip 13 tests from issue GoogleCloudPlatform#2811
Browse files Browse the repository at this point in the history
  • Loading branch information
Deleplace committed Jul 2, 2024
1 parent 15721cc commit 5facf36
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion asset/quickstart/create-saved-query/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func TestMain(m *testing.M) {
}

func TestCreateSavedQuery(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
buf := new(bytes.Buffer)
err := createSavedQuery(buf, projectID, savedQueryID)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion asset/quickstart/delete-saved-query/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func TestMain(m *testing.M) {
}

func TestDeleteSavedQuery(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
buf := new(bytes.Buffer)
err := deleteSavedQuery(buf, projectID, savedQueryID)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion asset/quickstart/export-assets/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
)

func TestMain(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
tc := testutil.SystemTest(t)
env := map[string]string{"GOOGLE_CLOUD_PROJECT": tc.ProjectID}

Expand Down
1 change: 0 additions & 1 deletion asset/quickstart/get-saved-query/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func TestMain(m *testing.M) {
}

func TestGetSavedQuery(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
buf := new(bytes.Buffer)
get_err := getSavedQuery(buf, projectID, savedQueryID)

Expand Down
1 change: 0 additions & 1 deletion asset/quickstart/list-saved-queries/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func TestMain(m *testing.M) {
}

func TestListSavedQueries(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
buf := new(bytes.Buffer)
list_saved_queries_err := listSavedQueries(buf, projectID)

Expand Down
1 change: 0 additions & 1 deletion asset/quickstart/update-saved-query/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func TestMain(m *testing.M) {
}

func TestUpdateSavedQuery(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
buf := new(bytes.Buffer)
newDescription := "This is a new description"
update_err := updateSavedQuery(buf, projectID, savedQueryID, newDescription)
Expand Down
1 change: 0 additions & 1 deletion batch/create_with_gcs_bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
)

func TestCreateJobWithBucket(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
t.Parallel()
var r *rand.Rand = rand.New(
rand.NewSource(time.Now().UnixNano()))
Expand Down
1 change: 0 additions & 1 deletion batch/create_with_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
)

func TestCreateJobWithTemplate(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
t.Parallel()
var r *rand.Rand = rand.New(
rand.NewSource(time.Now().UnixNano()))
Expand Down
2 changes: 0 additions & 2 deletions batch/job_basics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
)

func TestBatchJobCRUD(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
t.Parallel()
var r *rand.Rand = rand.New(
rand.NewSource(time.Now().UnixNano()))
Expand Down Expand Up @@ -101,7 +100,6 @@ func TestBatchJobCRUD(t *testing.T) {
}

func TestBatchContainerJob(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
t.Parallel()
var r *rand.Rand = rand.New(
rand.NewSource(time.Now().UnixNano()))
Expand Down
1 change: 0 additions & 1 deletion bigquery/snippets/datatransfer/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
)

func TestDataTransfer(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
tc := testutil.SystemTest(t)
ctx := context.Background()

Expand Down
1 change: 0 additions & 1 deletion iam/deny/deny_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
)

func TestDenyPolicySnippets(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
tc := testutil.SystemTest(t)
ctx := context.Background()
var r *rand.Rand = rand.New(
Expand Down
1 change: 0 additions & 1 deletion translate/v3/translate_text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
)

func TestTranslateText(t *testing.T) {
t.Skip("Skipped while investigating https://github.com/GoogleCloudPlatform/golang-samples/issues/2811")
tc := testutil.SystemTest(t)

sourceLang := "en-US"
Expand Down

0 comments on commit 5facf36

Please sign in to comment.