From 747566ed206afbd0b23ec3ee715d36d0023eac05 Mon Sep 17 00:00:00 2001 From: chinthalapalli Date: Thu, 9 May 2024 21:45:03 +0530 Subject: [PATCH] adding version changes --- bigip/resource_bigip_as3_test.go | 38 ++++++++++++++++++++++++++++++++ bigip/version.go | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/bigip/resource_bigip_as3_test.go b/bigip/resource_bigip_as3_test.go index b5145abca..c118cd804 100644 --- a/bigip/resource_bigip_as3_test.go +++ b/bigip/resource_bigip_as3_test.go @@ -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() { @@ -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() { diff --git a/bigip/version.go b/bigip/version.go index 276c63cc9..106dfbc9a 100644 --- a/bigip/version.go +++ b/bigip/version.go @@ -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"