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(api): Add integration tests for load conflicts with the fixed trash #14151

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

SyntaxColoring
Copy link
Contributor

Overview

Add tests to cover RQA-2015 / PR #14136.

Test Plan

On a local branch, I've reverted PR #14136 and confirmed that these tests catch RQA-2015.

Changelog

Test that you can generally load things into slot 12 when, and only when, your protocol will not have a fixed trash.

Review requests

Take a look at the test parametrizations and make sure they make sense. The OT-2+APIv2.16 case in particular is a bit weird, arguably an architectural bug. I haven't ticketed it, but I could if you think we should actually plan to fix it.

Risk assessment

No risk.

@SyntaxColoring SyntaxColoring added api Affects the `api` project papi-v2 Python API V2 labels Dec 8, 2023
@SyntaxColoring SyntaxColoring requested a review from a team December 8, 2023 16:38
@SyntaxColoring SyntaxColoring requested a review from a team as a code owner December 8, 2023 16:38
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #14151 (e2220e9) into chore_release-7.1.0 (e0ac68e) will not change coverage.
Report is 2 commits behind head on chore_release-7.1.0.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##           chore_release-7.1.0   #14151   +/-   ##
====================================================
  Coverage                70.41%   70.41%           
====================================================
  Files                     2483     2483           
  Lines                    70339    70339           
  Branches                  8778     8778           
====================================================
  Hits                     49531    49531           
  Misses                   18653    18653           
  Partials                  2155     2155           
Flag Coverage Δ
g-code-testing 96.44% <ø> (ø)
notify-server 89.13% <ø> (ø)

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

Copy link
Contributor

@CaseyBatten CaseyBatten left a comment

Choose a reason for hiding this comment

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

Looks good, appropriately tests our now hard casing of "Flex 2.15 Protocols always have a fixed trash loaded into A3".

@SyntaxColoring SyntaxColoring merged commit 5fc0e29 into chore_release-7.1.0 Dec 18, 2023
33 checks passed
@SyntaxColoring SyntaxColoring deleted the test_load_conflicts branch December 18, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Affects the `api` project papi-v2 Python API V2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants