-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fixing the NIC/Subnet tests #122
Conversation
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.
Just 2 minor questions, otherwise this LGTM, but take it with a bit of salt given my (lack of) Azure knowledge 😄
@@ -72,7 +72,7 @@ func TestAccAzureRMSubnet_bug7986(t *testing.T) { | |||
{ | |||
Config: initConfig, | |||
Check: resource.ComposeTestCheckFunc( | |||
testCheckAzureRMSubnetExists("azurerm_subnet.test"), | |||
testCheckAzureRMSubnetExists("azurerm_subnet.first"), |
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.
Any particular reason not to check the second subnet here too?
@@ -126,7 +126,7 @@ func TestAccAzureRMNetworkInterface_bug7986(t *testing.T) { | |||
{ | |||
Config: testAccAzureRMNetworkInterface_bug7986(rInt), | |||
Check: resource.ComposeTestCheckFunc( | |||
testCheckAzureRMNetworkInterfaceExists("azurerm_network_interface.test"), | |||
testCheckAzureRMNetworkInterfaceExists("azurerm_network_interface.test1"), |
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.
Same question - should we check azurerm_network_interface.test2
here as well?
Updated. Tests still pass:
|
LGTM, feel free to merge 😃 |
Fixing the NIC/Subnet tests
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Fixes some broken tests identified in the nightly run. Tests pass: