You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
980 B
980 B
Maintainer Instructions
- Always preserve backward compatibility
- Build using
make clean && make - After merging PR, always run
make changelogand commit changes - Set ArangoDB docker container (used for testing) using
export ARANGODB=<image-name> - Run tests using:
make run-tests-singlemake run-tests-resilientsinglemake run-tests-cluster.
- The test can be launched with the flag
RACE=onwhich means that test will be performed with the race detector, e.g:RACE=on make run-tests-single
- Always create changes in a PR
Change Golang version
-
Edit the .travis file and change all occurrences of
golang:x.y.z-stretchto the appropriate version. -
Edit the Makefile and change the line
GOVERSION ?= 1.16.6into the required version.
Debugging with DLV
To attach DLV debugger run tests with DEBUG=true flag e.g.:
DEBUG=true TESTOPTIONS="-test.run TestResponseHeader -test.v" make run-tests-single-json-with-auth