Skip to content

Commit

Permalink
bedrock: Use 'testing.Short()' guards.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Feb 1, 2024
1 parent f5c1165 commit 81ddd4a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/bedrock/custom_model_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import (

func TestAccBedrockCustomModelDataSource_basic(t *testing.T) {
ctx := acctest.Context(t)
if testing.Short() {
t.Skip("skipping long-running test in short mode")
}

rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
resourceName := "aws_bedrock_custom_model.test"
datasourceName := "data.aws_bedrock_custom_model.test"
Expand Down
4 changes: 4 additions & 0 deletions internal/service/bedrock/custom_model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ func TestAccBedrockCustomModel_validationDataConfig(t *testing.T) {

func TestAccBedrockCustomModel_validationDataConfigWaitForCompletion(t *testing.T) {
ctx := acctest.Context(t)
if testing.Short() {
t.Skip("skipping long-running test in short mode")
}

rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
resourceName := "aws_bedrock_custom_model.test"
var v bedrock.GetModelCustomizationJobOutput
Expand Down
4 changes: 4 additions & 0 deletions internal/service/bedrock/custom_models_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import (

func TestAccBedrockCustomModelsDataSource_basic(t *testing.T) {
ctx := acctest.Context(t)
if testing.Short() {
t.Skip("skipping long-running test in short mode")
}

rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
datasourceName := "data.aws_bedrock_custom_models.test"
resourceName := "aws_bedrock_custom_model.test"
Expand Down

0 comments on commit 81ddd4a

Please sign in to comment.