-
Notifications
You must be signed in to change notification settings - Fork 193
chore: Removes all usages of MONGODB_ATLAS_ENABLE_PREVIEW
#3285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ on: | |
|
||
env: | ||
AWS_DEFAULT_REGION: us-west-2 | ||
MONGODB_ATLAS_ENABLE_PREVIEW: "true" | ||
|
||
jobs: | ||
tf-validate: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,6 @@ import ( | |
) | ||
|
||
func TestMigResourcePolicy_basic(t *testing.T) { | ||
mig.SkipIfVersionBelow(t, "1.22.0") // this feature was introduced in provider version 1.21.0, plural data source schema was changed in 1.22.0 | ||
|
||
var description *string | ||
if mig.IsProviderVersionAtLeast("1.32.0") { | ||
description = descriptionPtr | ||
} | ||
|
||
mig.CreateAndRunTestNonParallel(t, basicTestCase(t, description)) | ||
Comment on lines
-10
to
-17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes a test failure in our CI that was detected today (reference failure, #3276 which caused failure). |
||
mig.SkipIfVersionBelow(t, "1.33.0") // this feature was GA (no need of MONGODB_ATLAS_ENABLE_PREVIEW env variable) in 1.33.0 | ||
mig.CreateAndRunTestNonParallel(t, basicTestCase(t)) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to keep some generic Preview features doc, like each feature will have their own env.var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had the same thought. Since we don't have a general purpose env var think it is okay to just call out in each specific resource as we currently do for advanced_cluster tfp (reference).