Skip to content

Commit

Permalink
Merge pull request #1068 from 2ez4szliu/ci-fix
Browse files Browse the repository at this point in the history
[CI Fix] Specify display_name of LBAppProfile data source in test case
  • Loading branch information
2ez4szliu authored Dec 18, 2023
2 parents c1bb4fc + 6308a17 commit 2ed3221
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 2ed3221

Please sign in to comment.