Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(object): remove skip tests #2744

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions internal/services/object/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ const (
)

func TestAccObject_Basic(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-basic")
Expand Down Expand Up @@ -104,9 +101,6 @@ func TestAccObject_Basic(t *testing.T) {
}

func TestAccObject_Hash(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-hash")
Expand Down Expand Up @@ -165,9 +159,6 @@ func TestAccObject_Hash(t *testing.T) {
}

func TestAccObject_Move(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-move")
Expand Down Expand Up @@ -222,9 +213,6 @@ func TestAccObject_Move(t *testing.T) {
}

func TestAccObject_StorageClass(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-storage-class")
Expand Down Expand Up @@ -287,9 +275,6 @@ func TestAccObject_StorageClass(t *testing.T) {
}

func TestAccObject_Metadata(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-metadata")
Expand Down Expand Up @@ -358,9 +343,6 @@ func TestAccObject_Metadata(t *testing.T) {
}

func TestAccObject_Tags(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-tags")
Expand Down Expand Up @@ -423,9 +405,6 @@ func TestAccObject_Tags(t *testing.T) {
}

func TestAccObject_Visibility(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-visibility")
Expand Down Expand Up @@ -482,9 +461,6 @@ func TestAccObject_Visibility(t *testing.T) {
}

func TestAccObject_State(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-visibility")
Expand Down Expand Up @@ -685,9 +661,6 @@ func TestAccObject_ByContentBase64(t *testing.T) {
}

func TestAccObject_WithBucketName(t *testing.T) {
if !*acctest.UpdateCassettes {
t.Skip("Skipping ObjectStorage test as this kind of resource can't be deleted before 24h")
}
tt := acctest.NewTestTools(t)
defer tt.Cleanup()
bucketName := sdkacctest.RandomWithPrefix("test-acc-scaleway-object-basic")
Expand Down
Loading