Skip to content

Commit

Permalink
Fix golangci-lint 'staticcheck' SA4006.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Nov 29, 2023
1 parent 508628a commit 90335ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/service/docdb/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,14 +760,14 @@ func TestAccDocDBCluster_GlobalClusterIdentifier_PrimarySecondaryClusters(t *tes
}

func TestAccDocDBCluster_updateEngineMajorVersion(t *testing.T) {
// https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html.
acctest.Skip(t, "Amazon DocumentDB has identified an issue and is temporarily disallowing major version upgrades (MVU) in all regions.")

ctx := acctest.Context(t)
var dbCluster docdb.DBCluster
rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
resourceName := "aws_docdb_cluster.test"

// https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html.
acctest.Skip(t, "Amazon DocumentDB has identified an issue and is temporarily disallowing major version upgrades (MVU) in all regions.")

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { acctest.PreCheck(ctx, t) },
ErrorCheck: acctest.ErrorCheck(t, docdb.EndpointsID),
Expand Down

0 comments on commit 90335ff

Please sign in to comment.