-
Notifications
You must be signed in to change notification settings - Fork 178
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(robot-server): Add persistence snapshot test for v7.1.1 #14508
Conversation
830072f
to
5dba80f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## chore_release-7.2.0 #14508 +/- ##
====================================================
Coverage 67.76% 67.76%
====================================================
Files 2517 2517
Lines 72058 72058
Branches 9276 9276
====================================================
Hits 48832 48832
Misses 21008 21008
Partials 2218 2218
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me if the tests all pass. Nice work.
black_opts := --extend-exclude tests/integration/persistence_snapshots/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overview
This adds robot-server integration tests for backwards compatibility with v7.1.1 data. This closes RSS-371.
The snapshot data comes from our ABR robots. I've taken a few runs from each robot and combined them into a single Frankenstein snapshot. I also had to massage the data somewhat to correct RSS-469.
Here is the raw ABR robot data (after correcting RSS-469), and here are the scripts I used to create a single snapshot out of it.
Also, configure Git to leave line endings alone for files in the snapshots. At least one of the protocols added here happens to have Windows CRLFs, and it seems like a good idea to keep them.
Review requests
None in particular.
Note that CI is currently failing because of RSS-471, which I'm fixing in #14509.
Risk assessment
No risk.