Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noisersup committed Nov 17, 2023
1 parent 2016d9b commit 2852ea9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integration/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -845,27 +845,27 @@ func TestQueryCommandLimitPushDown(t *testing.T) {
"Simple": {
limit: 1,
len: 1,
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"AlmostAll": {
limit: int64(len(shareddata.Composites.Docs()) - 1),
len: len(shareddata.Composites.Docs()) - 1,
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"All": {
limit: int64(len(shareddata.Composites.Docs())),
len: len(shareddata.Composites.Docs()),
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"More": {
limit: int64(len(shareddata.Composites.Docs()) + 1),
len: len(shareddata.Composites.Docs()),
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"Big": {
limit: 1000,
len: len(shareddata.Composites.Docs()),
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"Zero": {
limit: 0,
Expand Down Expand Up @@ -906,7 +906,7 @@ func TestQueryCommandLimitPushDown(t *testing.T) {
limit: 2,
len: 2,
filterPushdown: noPushdown,
limitPushdown: pgPushdown,
limitPushdown: allPushdown,
},
"IDFilterSort": {
filter: bson.D{{"_id", "array"}},
Expand Down

0 comments on commit 2852ea9

Please sign in to comment.