Skip to content

Conversation

@Mia-Cross
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (2cd313f) 73.36% compared to head (3234c50) 73.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2172      +/-   ##
==========================================
- Coverage   73.36%   73.31%   -0.06%     
==========================================
  Files         212      212              
  Lines       33262    33271       +9     
==========================================
- Hits        24403    24392      -11     
- Misses       6764     6787      +23     
+ Partials     2095     2092       -3     
Files Coverage Δ
scaleway/resource_k8s_cluster.go 82.39% <48.27%> (-1.02%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mia-Cross Mia-Cross force-pushed the k8s_add_pn_to_all_tests branch from 0f04931 to 4cb6c95 Compare October 19, 2023 12:45
tags = [ "terraform-test", "scaleway_k8s_cluster", "placement_group" ]
region = "nl-ams"
delete_additional_resources = true
delete_additional_resources = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this line need to be changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because the cluster gets destroyed and another one is created between step 1 and 2 of the test and if delete_additional_resources is set to true, the private network gets destroyed with it since it's empty and considered an additional resource of the cluster.

I could also switch back to true and create a new private network in the second step if it's better.

I don't think that there were any dangling resources though.

Copy link
Contributor Author

@Mia-Cross Mia-Cross Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently there was no need for this particular change so I rolled-back.

@Mia-Cross Mia-Cross marked this pull request as draft October 19, 2023 16:38
@Mia-Cross Mia-Cross force-pushed the k8s_add_pn_to_all_tests branch from 3234c50 to 841061e Compare October 20, 2023 12:02
@Mia-Cross Mia-Cross marked this pull request as ready for review October 20, 2023 12:06
@remyleone remyleone added this pull request to the merge queue Oct 20, 2023
Merged via the queue into scaleway:master with commit 6e092c9 Oct 20, 2023
@Mia-Cross Mia-Cross deleted the k8s_add_pn_to_all_tests branch October 20, 2023 15:13
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