TOOLS-4148 Convert test/qa-tests/jstests/export/sort_and_skip.js to Go#942
Open
Conversation
This was referenced Mar 23, 2026
Collaborator
Author
This was referenced Mar 23, 2026
nickweinberger
requested changes
Mar 24, 2026
Comment on lines
+2505
to
+2507
| for i := range 50 { | ||
| docs[i] = bson.D{{"a", int32(i)}} | ||
| } |
Collaborator
There was a problem hiding this comment.
I think this kinda defeats the purpose of testing sort behavior right? The js test inserted in scrambled order, whereas this inserts in sorted order.
Collaborator
Author
There was a problem hiding this comment.
well, actuallly ... the AI pointed out that WiredTiger doesn't guarantee an order for an unsorted query ... but I added a shuffle.
d2af7eb to
bd6dda5
Compare
23e06c2 to
baf5f6b
Compare
8d588e1 to
dd0f926
Compare
baf5f6b to
cbe1672
Compare
dd0f926 to
a2c80f3
Compare
cbe1672 to
d07acc9
Compare
a2c80f3 to
0b40e48
Compare
0b40e48 to
e094256
Compare
d07acc9 to
c0cbbd2
Compare
e094256 to
a7ee667
Compare
714f3a9 to
6f4a1ed
Compare
a7ee667 to
549c6e4
Compare
6f4a1ed to
80ac0a7
Compare
549c6e4 to
70aa195
Compare
80ac0a7 to
f75615a
Compare
70aa195 to
17dfb1c
Compare
f75615a to
9f7f730
Compare
17dfb1c to
683ad8d
Compare
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.

No description provided.