The goal of this project is to provide reusable test setup to run and stop qdbd instances. It can run on any platform as long as it is run in bash.
Its functions are simple:
- Find quasardb binaries
- Create public and private keys for the server
- Add a user
- Run qdbd in insecure mode
- Run qdbd in secure mode
- Stop qdbd instances reliably
- Log everything and provide static paths for the artifacts
The expected path for the binaries is: ./qdb/bin
./start-services.sh
./stop-services.sh
In the case you would like to fully cleanup after use (stop does not remove everything), you can use this command:
bash -c "source ./cleanup.sh && full_cleanup"