Skip to content

Conversation

@estellesoulard
Copy link
Contributor

  • IAM sweep currently expects resources name to start with 'tf-test': I updated the fixture to match this expectation and prevent dangling iam resources
  • Account sweep currently runs first, and fails when it attempts to delete unswept projects. I updated the Makefile to ensure it runs last. (Note : if some other sweeps have issues and leave behind resources, the project deletion in the account sweep will still fail).

@codecov-commenter
Copy link

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
141 2 139 592
View the top 2 failed test(s) by shortest run time
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object::TestAccDataSourceObjectBucket_ProjectIDAllowed
Stack Traces | 0.01s run time
=== RUN   TestAccDataSourceObjectBucket_ProjectIDAllowed
    data_source_object_bucket_test.go:96: 
        	Error Trace:	.../services/object/data_source_object_bucket_test.go:96
        	Error:      	Received unexpected error:
        	            	scaleway-sdk-go: error executing request: Post "https://api.scaleway..../account/v3/projects": Post "https://api.scaleway..../account/v3/projects": requested interaction not found
        	Test:       	TestAccDataSourceObjectBucket_ProjectIDAllowed
--- FAIL: TestAccDataSourceObjectBucket_ProjectIDAllowed (0.01s)
github.com/scaleway/terraform-provider-scaleway/v2/internal/services/object::TestAccDataSourceObjectBucket_ProjectIDForbidden
Stack Traces | 0.01s run time
=== RUN   TestAccDataSourceObjectBucket_ProjectIDForbidden
    data_source_object_bucket_test.go:145: 
        	Error Trace:	.../services/object/data_source_object_bucket_test.go:145
        	Error:      	Received unexpected error:
        	            	scaleway-sdk-go: error executing request: Post "https://api.scaleway..../account/v3/projects": Post "https://api.scaleway..../account/v3/projects": requested interaction not found
        	Test:       	TestAccDataSourceObjectBucket_ProjectIDForbidden
--- FAIL: TestAccDataSourceObjectBucket_ProjectIDForbidden (0.01s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants