-
Notifications
You must be signed in to change notification settings - Fork 838
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
Some cleanup for new executor test code, which accidentally fixes ASAN failures in ExecutorTestHelper #11283
Conversation
@@ -74,7 +74,6 @@ set(ARANGODB_TESTS_SOURCES | |||
Aql/SortLimit-test.cpp | |||
Aql/SpliceSubqueryOptimizerRuleTest.cpp | |||
Aql/SplicedSubqueryIntegrationTest.cpp | |||
Aql/SubqueryExecutorTest.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmmh, why does this fix remove the SubqueryExecutorTest
and its 500 lines of test code?
Is that intentional? If so, why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test was not doing anything (most of the test code was #if 0
d out), and rather than pretend that such a test is there, I decided to delete it.
We have an internal planning ticket to implement tests for this executor.
…t-asan-fixes-cleanup
@markuspf : just tried this branch and ran the tests with it.
I think this is a side effect of something else being broken. |
…/arangodb into bug-fix/test-asan-fixes-cleanup
I tried the latest version and it still fails, though much later now:
|
…/arangodb into bug-fix/test-asan-fixes-cleanup
…/arangodb into bug-fix/test-asan-fixes-cleanup
Jenkins blue now |
…ql-functions * origin/devel: (25 commits) Bug fix/fixes 20200318 (#11319) updated CHANGELOG Feature/out of search in range (#11324) fix "fix" for collection figures (#11323) updated CHANGELOG compilation fixes for clang-10s more strict checking (#11316) fix failing query (#11317) KShortestPathsExecutor must reset its KShortestPathFinder, including all caches. (#11312) Feature/aql subquery execution block impl execute implementation expected number of rows (#11274) Add DTRACE points to measure request timings. (#11245) USE_STRICT_OPENSSL is Off by default Fix usesRevisionAsDocumentId population and add syncByRevision flag (#11314) Traversal Bugfix (#11310) Bug fix/issue 11275 (#11299) added simple test (#11301) Fix some typos (#10173) Documentation/typos 2020-01-24 (#10975) Update CHANGELOG Some cleanup for new executor test code, which accidentally fixes ASAN failures in ExecutorTestHelper (#11283) LZ4 update (#11306) ...
This PR escalated a bit, because while I was fixing a memory leak, it turned out that the Executor tests had multiple unrelated
AqlItemBlockManager
instances around which removed each other's dependencies blocks, leading to crashes.To fix this, the
ExecutorTestHelper
now gets anAqlItemBlockManger
on construction, and the wholePipeline
API is gone and hidden inside the test helper.I also deleted a lot of unused test code, in particular the
SubqueryExecutor
test, which did nothing. Lets not pretend there are tests for things that aren't there.