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

test(i): Skip unsupported mutation types at test level #1850

Conversation

AndrewSisley
Copy link
Contributor

Relevant issue(s)

Resolves #1849

Description

Skips unsupported mutation types at test level.

Earlier version caused the change detector to fail, as the skip was only executed in the setup stage, not the main/assert stage resulting in test failures. I also think this location makes much more sense, as the skip is a test-level thing, not something that acts at the action-level.

Sorry about the bother caused by this, this should have been spotted by me when I wrote it.

Earlier version caused the change detector to fail, as the skip was only executed in the setup stage, not the main/assert stage resulting in test failures. I also think this location makes much more sense, as the skip is a test-level thing, not something that acts at the action-level.
@AndrewSisley AndrewSisley added bug Something isn't working area/testing Related to any test or testing suite action/no-benchmark Skips the action that runs the benchmark. labels Sep 7, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.7 milestone Sep 7, 2023
@AndrewSisley AndrewSisley requested a review from a team September 7, 2023 14:56
@AndrewSisley AndrewSisley self-assigned this Sep 7, 2023
@AndrewSisley AndrewSisley changed the title tests(i): Skip unsupported mutation types at test level test(i): Skip unsupported mutation types at test level Sep 7, 2023
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.05% 🎉

Comparison is base (8b10d0b) 75.56% compared to head (f449be0) 75.61%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1850      +/-   ##
===========================================
+ Coverage    75.56%   75.61%   +0.05%     
===========================================
  Files          209      209              
  Lines        22261    22261              
===========================================
+ Hits         16820    16832      +12     
+ Misses        4279     4270       -9     
+ Partials      1162     1159       -3     
Flag Coverage Δ
all-tests 75.61% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b10d0b...f449be0. Read the comment docs.

Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks

@AndrewSisley AndrewSisley merged commit ebad3eb into sourcenetwork:develop Sep 7, 2023
14 of 15 checks passed
@AndrewSisley AndrewSisley deleted the 1849-change-detector-mutations branch September 7, 2023 15:46
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…#1850)

## Relevant issue(s)

Resolves sourcenetwork#1849

## Description

Skips unsupported mutation types at test level.

Earlier version caused the change detector to fail, as the skip was only
executed in the setup stage, not the main/assert stage resulting in test
failures. I also think this location makes much more sense, as the skip
is a test-level thing, not something that acts at the action-level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/testing Related to any test or testing suite bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix change detector bug due to not skipping some mutation tests
2 participants