1
0
Fork 0
arangodb/tests/js/server
Heiko 58db1023f3 Feature/aql skip some (#8771)
* testing skipSome implementation, default and passThrough

* added simple implementation for default and passthrough skipsome methods

* added skipRows function to enumerate collection executor

* added tests for the enumerate collection skipRows function

* implemented and tested enumeratecollection skipSome

* skipSome tests

* fixed a test, prepared iresearch view exec for skipping

* rm logs

* gcc bug workaround

* changed to original test code as it has been before

* iresearch skipping, added ires skip test

* added index executor skipRows

* added skip blockfetcher, quick exit index

* test

* const dummy and singlerowfetcher skip

* forgot return value

* input wrong initialized

* trying to remove dynamic cast and solve with a different approach

* cleanup

* const skip

* jslint

* Handle skipSome of subqueries correctly

* Removed unused code

* Removed unused member

* Simplified skip variants and enabled IndexExecutor skipping

* A little cleanup, fixed DependencyProxy::skipSome

* Reverted test change

* Tried to make testLimitBlock3 clearer

* Extended test suite

* Bugfix

* Added stats when skipping and fixed a few other things

* Bugfixes

* Moar bugfixes

* Update arangod/Aql/IResearchViewExecutor.cpp

Co-Authored-By: hkernbach <hkernbach@users.noreply.github.com>

* Update arangod/Aql/IndexExecutor.cpp

Co-Authored-By: hkernbach <hkernbach@users.noreply.github.com>

* Update arangod/Aql/IndexExecutor.cpp

Co-Authored-By: hkernbach <hkernbach@users.noreply.github.com>

* applied requested changes

* Fixed a bug in LimitExecutor::expectedNumberOfRows()

* Fix skipSome in catch test RowFetcherHelper

* Fixed a bug in the tests

* Two bugfixes in LimitExecutor::expectedNumberOfRows

* Avoid passing large batch sizes from skipSome to getSome

* Fixed Windows compile errors

* Fixed a skip bug with WAITING in unsorting gather blocks

* Make aql-skipping find some cluster bugs, like the last commit

* Bugfix and additional asserts

* Fixed skipSome counting in IndexExecutor

* Resolved merge conflicts
2019-05-08 15:02:43 +02:00
..
aql Feature/aql skip some (#8771) 2019-05-08 15:02:43 +02:00
backup rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00
dump Small speedup of setup in dump suite 2019-05-07 23:49:17 +02:00
export rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00
import rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00
permissions Bug fix/permission tests (#8890) 2019-05-07 15:07:59 +02:00
recovery Greylist tests/js/server/recovery/view-arangosearch-link-populate-no-flushthread.js 2019-05-06 14:33:32 +02:00
replication Foxx Security (#8845) 2019-04-25 09:56:29 +02:00
resilience Disable resilience_move_view test till it's reworked 2019-05-03 16:50:47 +02:00
shell forwardport changes from 3.4 (#8894) 2019-05-08 14:34:25 +02:00
stress rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00
upgrade-data Upgrade old MMFiles collections for compatibility with ArangoSearch. (#7248) 2018-11-07 15:52:37 +01:00
README rename `tests/js/*/tests/*` to `tests/js/*/*` (#6280) 2018-08-31 19:42:21 +02:00

README

Conventions for testing framework:
==================================

All files in the directory "shell" and ends with ".js" automatically
take part in server shell tests (targets "shell_server" and
"shell-server-only").

All files in the directory "aql" and ends with ".js" automatically
take part in server aql tests (target "shell_server_aql"). Those,
whose filename contains the string "ranges-combined" are only taken if
the flag "skipRanges" in the test options is set to false.

If the filename contains the string "-cluster", then it is only
executed when testing in cluster mode. If the filename contains the
string "-noncluster", then it is only executed when testing in single
instance mode.

If the filename contains the string "-disabled", then it is not
executed at all. This is for tests that cannot be run from the
JavaScript test framework and have to be run from the Makefile.