Repository navigation
test: make service specs fail only on a regression - #1054
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is the tests pass of the codebase untangle for
spec/services. The goal: each spec fails on a regression, and only then. The PR changes spec files only.What changes
expcheck, the 25Liveclient_specintoclient_http_spec, and the read-only hint checks thatapi/mcp_specalready covers.stub_requestat the HTTP boundary,travel_to, or real rows. Before, they stubbed or called private methods of the object under test. The largest groups are the Google provider events, the 25Live spaces sync andLeopardWebClient. The query checks became Prosopite scans, or same-count checks for 1 and N records.next_term_coursesis now warmed and resetsCurrent.sleep 0.3.RecordNotUniquerescue increate_event.OauthCredentials::Httptimeouts.course_details: false.find_schedulesneeds thecatalogscope.RecordInvalid, andcreate_eventdoes not rescue it. The follow-up PR fixes the bug and removes thepending. You approved that fix.Checks
CI=1on 9a1eac1: 6652 examples, 0 failures, 1 pending (the bug above). Line coverage 96.18%, branch 86.23%.