-
Notifications
You must be signed in to change notification settings - Fork 85
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
Fix issue when creating IPSecVpnSession with Compliance suite #891
Conversation
/test-all |
@@ -175,6 +204,47 @@ func TestAccResourceNsxtPolicyIPSecVpnSessionRouteBased_basic(t *testing.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.
lets follow naming convention here - withComplianceSuite
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.
done
@@ -273,6 +343,49 @@ func TestAccResourceNsxtPolicyIPSecVpnSessionPolicyBased_basic(t *testing.T) { | |||
}) | |||
} | |||
|
|||
func TestAccResourceNsxtPolicyIPSecVpnSessionPolicyBased_with_compliance_suite(t *testing.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.
same as above
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.
done
@@ -485,6 +598,7 @@ func testAccNSXPolicyIPSecVpnSessionImporterGetID(s *terraform.State) (string, e | |||
} | |||
|
|||
func testAccNsxtPolicyIPSecVpnSessionPreConditionTemplate(isT0 bool) string { |
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.
Tests using certificate should only run if testAccEnvDefined(t, "NSXT_TEST_CERTIFICATE_NAME"), otherwise looks like certificate data source will fail
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.
done
/test-all |
Change tunnel_profile_path to use the computedPolicyPath so that IPSecVpnSession with compliance suite can be configured correctly. The MR also made enhancement to the docs. Signed-off-by: Shizhao Liu <[email protected]>
/test-all |
Change tunnel_profile_path to use the computedPolicyPath so that IPSecVpnSession with compliance suite can be configured correctly.
The MR also made enhancement to the docs.