Skip to content

Commit

Permalink
adding version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RavinderReddyF5 committed May 9, 2024
1 parent 23c2d12 commit 747566e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions bigip/resource_bigip_as3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ resource "bigip_as3" "as3-example" {
}
`

var TestAs3Resourcegithub972 = `
resource "bigip_as3" "issue972" {
as3_json = file("` + dir + `/../examples/as3/issue972.json")
ignore_metadata = true
}
resource "bigip_as3" "perapp1" {
as3_json = file("` + dir + `/../examples/as3/perappdeclaration1.json")
ignore_metadata = true
}
resource "bigip_as3" "perapp2" {
as3_json = file("` + dir + `/../examples/as3/perappdeclaration2.json")
ignore_metadata = true
}
`

func TestAccBigipAs3_create_SingleTenant(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
Expand Down Expand Up @@ -317,6 +332,29 @@ func TestAccBigipAs3Issue600(t *testing.T) {
// })
// }

func TestAccBigipAs3Issue972(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
testAcctPreCheck(t)
},
Providers: testAccProviders,
CheckDestroy: testCheckAs3Destroy,
Steps: []resource.TestStep{
{
Config: TestAs3Resourcegithub592,
Check: resource.ComposeTestCheckFunc(
testCheckAs3Exists("A1", true),
),
},
{
Config: TestAs3Resourcegithub600,
Check: resource.ComposeTestCheckFunc(
testCheckAs3Exists("A1", true),
),
},
},
})
}
func TestAccBigipAs3_import_SingleTenant(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() {
Expand Down
2 changes: 1 addition & 1 deletion bigip/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package bigip

// ProviderVersion is set at build-time in the release process
var ProviderVersion = "1.22.0"
var ProviderVersion = "1.22.1"

0 comments on commit 747566e

Please sign in to comment.