-
Notifications
You must be signed in to change notification settings - Fork 189
INTMDB-878: [Terraform] Improve acceptance test setup to run in parallel & against cloud-dev - Network #1260
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
Conversation
@@ -1,118 +0,0 @@ | |||
package mongodbatlas |
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.
I have moved the data source tests into the resource tests. By doing this, there is no need to create a new serverless cluster specifically for these tests. Instead, we can efficiently reuse the clusters that are already created for the resource tests.
) | ||
|
||
resource.Test(t, resource.TestCase{ | ||
PreCheck: func() { testAccPreCheck(t) }, | ||
resource.ParallelTest(t, resource.TestCase{ |
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.
I still can't get over how simple a change this is vs the impact it has. Great work!
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.
LGTM, great work here!
Description
This PR moves the network tests from the old workflow (~ 2 hours to run) to a new one running the tests concurrently and against cloud-dev (~ 15 minutes). The new workflow splits the network tests into two GitHub Jobs.
GitHub Action Now (5332697190)
GitHub Action Before (5245497202)
Type of change:
Required Checklist:
Further comments