Skip to content
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

[OAS-10368] Grab Agenecy dump on test failures in go-driver #647

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

enikon
Copy link

@enikon enikon commented Jan 7, 2025

Changes:

  • Added agency dump when DUMP_ON_FAILURE=1 to be saved in
    ./arango_data_v$(VERSION)/FAIL_agency_dump-HTTP_VPACK.json
    eg. DUMP_ON_FAILURE=1 make run-tests-cluster-vpack-no-auth

  • Made arangodb_starter start test containers in host network; --net=host instead of running an alpine container to serve that funciton

  • Separated all functions that need to be executed when go-driver-test docker container returns any messages (fails) to a separete file on_failure.sh

Requirements

  • needs jq installed on host in order to parse the JSON responses that are received from the database API when creating agency dumps.

… test containers in host network; Split common functionality into separate script on_failure.sh
@cla-bot cla-bot bot added the cla-signed label Jan 7, 2025
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
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.

2 participants