To start a redis server without persistence, you can run:
echo -e 'save ""\nappendonly no' | redis-server -
From the tests
directory, to run the integration tests with all languages, use:
./run-test.sh -t go_jobs,python_jobs,rust_jobs,node_jobs,dotnet_jobs
To do the same, but wit the DotNet implementation of the cleaner, use:
./run-test.sh -t go_jobs,python_jobs,rust_jobs,node_jobs,dotnet_jobs -c ./dotnet-cleaner/run.sh
To do the same, but wit the Go implementation of the cleaner, use:
./run-test.sh -t go_jobs,python_jobs,rust_jobs,node_jobs,dotnet_jobs -c ./go-cleaner/run.sh
For a summary of other options, run:
./run-test.sh --help
You can use the --tests command to test specific implementations.
For example:
./run-test.sh --tests "go_jobs,python_jobs"
This can be used to set a specific redis server, the default is localhost:6379
.
For example:
./run-test.sh --tests "go_jobs,python_jobs" --host example.server.net:port
This sets a custom binary to be used to clean the work queues, see the docs in job-spawner-and-cleaner.py.
Each client implementation contains some unit tests. These are located within the implementations directory.
This directory contains the source for example workers, in each language, and a script to spawn jobs and check the workers behave as expected.