-
Notifications
You must be signed in to change notification settings - Fork 180
RUST-978 Unified test format additions in support of load balanced tests #465
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
Merged
abr-egn
merged 35 commits into
mongodb:master
from
abr-egn:RUST-978/lb-unified-test-changees
Sep 23, 2021
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2a743db
use enum for observed events
abr-egn bd5c283
allow more than just command events
abr-egn 6e2e057
record and match against cmap events
abr-egn edb929e
expected command event changes
abr-egn 7e8aa81
createFindCursor test operation
abr-egn df28cc3
deserialize_op helper
abr-egn eb297a1
iterateUntilDocumentOrError
abr-egn 919ecba
close cursor test operation
abr-egn fef89f9
use alternate uris for load balanced setup
abr-egn 9b32d9a
expected cmap events
abr-egn 691dd4f
refactor to support ignoring test operation results
abr-egn a36a360
assertNumberConnectionsCheckedOut test operation
abr-egn 6627311
unified test format invalid checker and first test in such
abr-egn 75854e7
more invalid tests
abr-egn cf3f07f
invalid tests, continued
abr-egn 3b49f57
invalid testing continues, now with a skip
abr-egn e336f64
one last invalid test
abr-egn c5f7399
a valid test, and fix for ExpectedCommandEvent
abr-egn 3022636
another valid test, and actually match expected cmap events
abr-egn 72e0280
remove debug prints
abr-egn c04c464
remove more debug
abr-egn 04e2d3d
fix count name
abr-egn ca69b9a
skip some more invalid tests
abr-egn 10a3ad9
wip
abr-egn f6da6dd
wait for kill on test operation cursor close
abr-egn 99fecef
last two tests
abr-egn 9c6fe57
remove debug prints
abr-egn 2d7b6c8
rustfmt and clippy
abr-egn 00b3cb8
more clippy
abr-egn e70ea7e
sync a few more tests
abr-egn 919315c
comments
abr-egn 6e58800
introduce syncpoint for test events
abr-egn 09832c6
review
abr-egn 66d1df8
embed => replicate
abr-egn a4f16ba
populate has_service_id
abr-egn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
23 changes: 23 additions & 0 deletions
23
...fied-test-format/invalid/expectedCmapEvent-connectionCheckOutFailedEvent-reason-type.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"description": "expectedCmapEvent-connectionCheckOutFailedEvent-reason-type", | ||
"schemaVersion": "1.3", | ||
"tests": [ | ||
{ | ||
"description": "foo", | ||
"operations": [], | ||
"expectEvents": [ | ||
{ | ||
"client": "client0", | ||
"eventType": "cmap", | ||
"events": [ | ||
{ | ||
"connectionCheckOutFailedEvent": { | ||
"reason": 10 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.