8000 Added test for distinct collect with random order. by maierlars · Pull Request #11184 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Added test for distinct collect with random order. #11184

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

8000
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions tests/Aql/DistinctCollectExecutorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ TEST_P(DistinctCollectExecutorTest, split_1) {
.run();
}

TEST_P(DistinctCollectExecutorTest, split_3) {
auto [split] = GetParam();

ExecutorTestHelper(*fakedQuery)
.setExecBlock<DistinctCollectExecutor>(std::move(infos))
.setInputValueList(1, 2, 1, 2, 5, 4, 3, 3, 1, 2)
.setInputSplitType(split)
.setCall(AqlCall{2, AqlCall::Infinity{}, 2, true})
.expectOutputValueList(5, 4)
.expectSkipped(3)
.expectedState(ExecutionState::DONE)
.run();
}

TEST_P(DistinctCollectExecutorTest, split_2) {
auto [split] = GetParam();

Expand Down
0