Skip to content

Commit 0dfc82f

Browse files
author
leofigy
authored
Client upgrade to fix metric threshold value set as 0 (#331)
* client update for 0 value * fixing test because it causes a race condition
1 parent 49e1588 commit 0dfc82f

10 files changed

+172
-11
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ require (
1111
github.com/spf13/cast v1.3.1
1212
github.com/terraform-providers/terraform-provider-aws v1.60.1-0.20200518153306-40099de47e37
1313
github.com/terraform-providers/terraform-provider-google v1.20.1-0.20200518165017-1dd21651c496
14-
go.mongodb.org/atlas v0.4.1-0.20200916170654-ac3833accfa2
14+
go.mongodb.org/atlas v0.5.1-0.20201007214134-b315fe7503d2
1515
)

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,10 @@ go.mongodb.org/atlas v0.4.1-0.20200903102338-049d0778b833 h1:gH8Ih2OacuB6qVitO+w
613613
go.mongodb.org/atlas v0.4.1-0.20200903102338-049d0778b833/go.mod h1:CIaBeO8GLHhtYLw7xSSXsw7N90Z4MFY87Oy9qcPyuEs=
614614
go.mongodb.org/atlas v0.4.1-0.20200916170654-ac3833accfa2 h1:qjEP4bC8yTi57jBYHtSSA8gzPN4vJl3XG23YBMXCgUg=
615615
go.mongodb.org/atlas v0.4.1-0.20200916170654-ac3833accfa2/go.mod h1:CIaBeO8GLHhtYLw7xSSXsw7N90Z4MFY87Oy9qcPyuEs=
616+
go.mongodb.org/atlas v0.5.1-0.20201005200951-cefc31adb4ca h1:aZlmsmzOW8kYabsoBdG6BAeSOP2QShQds+6gSoMnBcg=
617+
go.mongodb.org/atlas v0.5.1-0.20201005200951-cefc31adb4ca/go.mod h1:CIaBeO8GLHhtYLw7xSSXsw7N90Z4MFY87Oy9qcPyuEs=
618+
go.mongodb.org/atlas v0.5.1-0.20201007214134-b315fe7503d2 h1:b4Ng7d2sCSgYKwLMOetbwLcPE732SiBnJqH5rQrhZOs=
619+
go.mongodb.org/atlas v0.5.1-0.20201007214134-b315fe7503d2/go.mod h1:CIaBeO8GLHhtYLw7xSSXsw7N90Z4MFY87Oy9qcPyuEs=
616620
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
617621
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
618622
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=

mongodbatlas/data_source_mongodbatlas_third_party_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func TestAccdataSourceMongoDBAtlasThirdPartyIntegration_basic(t *testing.T) {
114114
}
115115
)
116116

117-
resource.ParallelTest(t, resource.TestCase{
117+
resource.Test(t, resource.TestCase{
118118
PreCheck: func() { testAccPreCheck(t) },
119119
Providers: testAccProviders,
120120
Steps: []resource.TestStep{

mongodbatlas/data_source_mongodbatlas_third_party_integrations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestAccdataSourceMongoDBAtlasThirdPartyIntegrations_basic(t *testing.T) {
3535

3636
intgResourcesHCL := testAccMongoDBAtlasThirdPartyIntegrationsDataSourceConfig(hclConfig, projectID)
3737

38-
resource.ParallelTest(t, resource.TestCase{
38+
resource.Test(t, resource.TestCase{
3939
PreCheck: func() { testAccPreCheck(t) },
4040
Providers: testAccProviders,
4141
Steps: []resource.TestStep{

vendor/go.mongodb.org/atlas/mongodbatlas/alert_configurations.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.mongodb.org/atlas/mongodbatlas/mongodbatlas.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.mongodb.org/atlas/mongodbatlas/organizations.go

Lines changed: 9 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.mongodb.org/atlas/mongodbatlas/performance_advisor.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.mongodb.org/atlas/mongodbatlas/project_ip_access_list.go

Lines changed: 148 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ github.com/zclconf/go-cty/cty/msgpack
476476
github.com/zclconf/go-cty/cty/set
477477
# github.com/zclconf/go-cty-yaml v1.0.1
478478
github.com/zclconf/go-cty-yaml
479-
# go.mongodb.org/atlas v0.4.1-0.20200916170654-ac3833accfa2
479+
# go.mongodb.org/atlas v0.5.1-0.20201007214134-b315fe7503d2
480480
## explicit
481481
go.mongodb.org/atlas/mongodbatlas
482482
# go.opencensus.io v0.22.3

0 commit comments

Comments
 (0)