8000 Bug fix/tests cleanup by jsteemann · Pull Request #11028 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Bug fix/tests cleanup #11028

New issue
Merged
merged 5 commits into from
Feb 3, 2020
Merged

Bug fix/tests cleanup #11028

merged 5 commits into from
Feb 3, 2020

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

Make http_replication tests always clean up the collections they create

  • Bug-Fix for devel-branch (i.e. no need for backports?)

http://172.16.10.101:8080/view/PR/job/arangodb-matrix-pr/8355/

@jsteemann jsteemann added this to the devel milestone Jan 30, 2020
@jsteemann jsteemann requested a review from dothebart January 30, 2020 13:29
@jsteemann
Copy link
Contributor Author

@jsteemann
Copy link
Contributor Author

tests blue

@@ -42,6 +42,10 @@

using namespace arangodb;
using namespace arangodb::aql;

namespace {
std::vector<size_t> const emptyAttributePositions;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be thread_local

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vector is only used to be passed into the DocumentProducingContext, where a const reference to it is stored. The data in the vector is never modified by the DocumentProducingContext, nor is it modified by EnumerateCollectionExecutor(Infos).
Thus it can be static and const.

@jsteemann
Copy link
Contributor Author

@jsteemann jsteemann merged commit caaef4a into devel Feb 3, 2020
@jsteemann jsteemann deleted the bug-fix/tests-cleanup branch February 3, 2020 11:52
ObiWahn added a commit that referenced this pull request Feb 10, 2020
* origin/devel:
  feature/upgrade v8 once more (#10978)
  Bug fix/tests cleanup (#11028)
  create collections aware of server cleaning (#11008)
  Feature/improve ternary operator evaluation (#10634)
  Bug fix/deprecate mmfiles engine (#10994)
  attempt to ungreylist test (#11036)
  disable warning about `--server.jwt-secret` (#11037)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0