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.
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
SQL-2288: Create mongosqltranslate integration tests #251
base: on-prem-eap
Are you sure you want to change the base?
SQL-2288: Create mongosqltranslate integration tests #251
Changes from 20 commits
91e709e
f9039e0
2997ffd
71e5ec3
6519307
914ca8f
59a37de
74b8d02
e7ce323
401713b
65ff048
5bc7a32
f5541e3
9125f5c
8050d4f
4e45044
52be409
558358d
e7e8234
ac45b5d
2ca83d0
d3645cf
2f9c330
faba35f
b17ce9e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
The
DRIVER_ODBC_VERSION
wasn't a valid semver version, so I switched to theDRIVER_METRICS_VERSION
.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.
Since this list of databases and filter is in a couple places, can we add a helper function to filter out the databases we don't want?
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.
This code was merged into master with SQL-2374
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.
How about an integration test that confirms we get this on a deserialization error?
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.
How about something like this to avoid the unwrap, it has similar behavior:
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.
The
mock_library
is now only used by the unit test in this file; all the other tests can use the real library now, so I figured we could do this instead to make things easier.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.
The deserialization wasn't working without this.