Skip to content

Commit

Permalink
[CI Fix] Specify display_name of LBAppProfile data source in test case
Browse files Browse the repository at this point in the history
Signed-off-by: Shizhao Liu <[email protected]>
  • Loading branch information
Shizhao Liu committed Dec 15, 2023
1 parent c1bb4fc commit 6308a17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nsxt/resource_nsxt_policy_lb_virtual_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ func testAccNsxtPolicyLBVirtualServerTemplate(createFlow bool) string {
return fmt.Sprintf(`
data "nsxt_policy_lb_app_profile" "default_tcp"{
type = "TCP"
display_name = "default-tcp-lb-app-profile"
}
data "nsxt_policy_lb_persistence_profile" "default" {
Expand Down Expand Up @@ -752,6 +753,7 @@ func testAccNsxtPolicyLBVirtualServerMinimalistic() string {
return fmt.Sprintf(`
data "nsxt_policy_lb_app_profile" "default_http"{
type = "HTTP"
display_name = "default-http-lb-app-profile"
}
resource "nsxt_policy_lb_pool" "pool" {
Expand Down Expand Up @@ -791,6 +793,7 @@ data "nsxt_policy_certificate" "test" {
}
data "nsxt_policy_lb_app_profile" "default_tcp"{
type = "TCP"
display_name = "default-tcp-lb-app-profile"
}
data "nsxt_policy_lb_client_ssl_profile" "default" {
Expand Down Expand Up @@ -831,6 +834,7 @@ func testAccNsxtPolicyLBVirtualServerWithAccessList(createFlow bool) string {
return fmt.Sprintf(`
data "nsxt_policy_lb_app_profile" "default_tcp"{
type = "TCP"
display_name = "default-tcp-lb-app-profile"
}
data "nsxt_policy_lb_persistence_profile" "default" {
Expand Down Expand Up @@ -877,6 +881,7 @@ func testAccNsxtPolicyLBVirtualServerWithRules(createFlow bool) string {
return fmt.Sprintf(`
data "nsxt_policy_lb_app_profile" "default_http"{
type = "HTTP"
display_name = "default-http-lb-app-profile"
}
data "nsxt_policy_lb_persistence_profile" "default" {
Expand Down

0 comments on commit 6308a17

Please sign in to comment.