File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
internal/services/instance Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import (
1515)
1616
1717func TestAccImage_BlockVolume (t * testing.T ) {
18+ t .Skip ("Resources \" scaleway_instance_volume\" and \" scaleway_instance_snapshot\" are depracated" )
19+ // TestAccImage_ExternalBlockVolume should suffice to test the same logic with scaleway_block_volumes
20+
1821 tt := acctest .NewTestTools (t )
1922 defer tt .Cleanup ()
2023 resource .ParallelTest (t , resource.TestCase {
@@ -213,7 +216,7 @@ func TestAccImage_Server(t *testing.T) {
213216 ProviderFactories : tt .ProviderFactories ,
214217 CheckDestroy : resource .ComposeTestCheckFunc (
215218 isImageDestroyed (tt ),
216- isSnapshotDestroyed (tt ),
219+ blocktestfuncs . IsSnapshotDestroyed (tt ),
217220 instancechecks .IsServerDestroyed (tt ),
218221 ),
219222 Steps : []resource.TestStep {
@@ -278,6 +281,9 @@ func TestAccImage_Server(t *testing.T) {
278281}
279282
280283func TestAccImage_ServerWithBlockVolume (t * testing.T ) {
284+ t .Skip ("Resources \" scaleway_instance_volume\" and \" scaleway_instance_snapshot\" are depracated" )
285+ // TestAccImage_ServerWithSBSVolume should suffice to test the same logic with block volumes
286+
281287 tt := acctest .NewTestTools (t )
282288 defer tt .Cleanup ()
283289 resource .ParallelTest (t , resource.TestCase {
Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ func TestAccVolume_DifferentNameGenerated(t *testing.T) {
7979}
8080
8181func TestAccVolume_ResizeBlock (t * testing.T ) {
82+ t .Skip ("Resource \" scaleway_instance_volume\" is depracated for block volumes" )
83+
8284 tt := acctest .NewTestTools (t )
8385 defer tt .Cleanup ()
8486 resource .ParallelTest (t , resource.TestCase {
@@ -144,6 +146,8 @@ func TestAccVolume_ResizeNotBlock(t *testing.T) {
144146}
145147
146148func TestAccVolume_CannotResizeBlockDown (t * testing.T ) {
149+ t .Skip ("Resource \" scaleway_instance_volume\" is depracated for block volumes" )
150+
147151 tt := acctest .NewTestTools (t )
148152 defer tt .Cleanup ()
149153 resource .ParallelTest (t , resource.TestCase {
You can’t perform that action at this time.
0 commit comments