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

rewrite TestParseRestartPolicy to use sub-tests #4533

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

thaJeztah
Copy link
Member

in preparation of other changes 😄

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added status/2-code-review area/testing kind/refactor PR's that refactor, or clean-up code labels Aug 28, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 28, 2023

Codecov Report

Merging #4533 (4a763bf) into master (fcb2b79) will not change coverage.
The diff coverage is n/a.

❗ Current head 4a763bf differs from pull request most recent head 7958ccf. Consider uploading reports for the commit 7958ccf to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4533   +/-   ##
=======================================
  Coverage   59.40%   59.40%           
=======================================
  Files         288      288           
  Lines       24787    24787           
=======================================
  Hits        14725    14725           
  Misses       9181     9181           
  Partials      881      881           

@thaJeztah thaJeztah force-pushed the test_table_TestParseRestartPolicy branch from 167632b to 7958ccf Compare August 28, 2023 09:50
@thaJeztah thaJeztah force-pushed the test_table_TestParseRestartPolicy branch 2 times, most recently from 610b52d to 0e52033 Compare August 28, 2023 10:04
Also make it slightly more clearer we're returning a default (empty)
policy if the input is empty.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the test_table_TestParseRestartPolicy branch from 0e52033 to 261c18f Compare August 28, 2023 10:59
@thaJeztah thaJeztah added this to the 25.0.0 milestone Aug 28, 2023
@thaJeztah thaJeztah requested a review from vvoland August 28, 2023 11:29
@thaJeztah thaJeztah merged commit be9e42e into docker:master Aug 28, 2023
74 checks passed
@thaJeztah thaJeztah deleted the test_table_TestParseRestartPolicy branch August 28, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/refactor PR's that refactor, or clean-up code status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants