Hooking up the Image List Entry tests
This commit is contained in:
parent
bb2afcb38e
commit
d9eec24e6b
|
@ -99,7 +99,7 @@ func TestAccOPCStorageVolume_importBootable(t *testing.T) {
|
||||||
func TestAccOPCStorageVolume_importImageListEntry(t *testing.T) {
|
func TestAccOPCStorageVolume_importImageListEntry(t *testing.T) {
|
||||||
resourceName := "opc_compute_storage_volume.test"
|
resourceName := "opc_compute_storage_volume.test"
|
||||||
rInt := acctest.RandInt()
|
rInt := acctest.RandInt()
|
||||||
config := fmt.Sprintf(testAccStorageVolumeBootable, rInt, rInt)
|
config := fmt.Sprintf(testAccStorageVolumeImageListEntry, rInt, rInt)
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
|
|
@ -281,7 +281,7 @@ resource "opc_compute_image_list_entry" "test" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "opc_compute_storage_volume" "test" {
|
resource "opc_compute_storage_volume" "test" {
|
||||||
name = "test-acc-stor-vol-bootable-%d"
|
name = "test-acc-stor-vol-image-list-entry-%d"
|
||||||
description = "Provider Acceptance Tests Storage Volume Image List Entry"
|
description = "Provider Acceptance Tests Storage Volume Image List Entry"
|
||||||
size = 20
|
size = 20
|
||||||
tags = ["bar", "foo"]
|
tags = ["bar", "foo"]
|
||||||
|
|
Loading…
Reference in New Issue