The application that verifies the response from an application running in the TechEmpower Framework Benchmarks.
The goal of this application is to live in isolation from test implementations and even the TFBToolset. This application contains a Dockerfile which is how the Docker Image is created and eventually published to Dockerhub.
The TFBToolset uses that published Docker image to verify test implementations in the FrameworkBenchmarks project.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
* Not required for development or testing; only full-suite testing and deploying.
* Not required for development or testing; only full-suite testing and deploying.
$ cargo test
$ cargo build --release
$ docker build -t techempower/tfb.verifier .
To run any verification, a test implementation must be running from the
TFBToolset in debug
mode, which will attach the test implementation to the
Docker Network TFBNetwork
.
$ docker run -it --network=TFBNetwork -e "MODE=[probably verify, but maybe benchmark]" -e "CONCURRENCY_LEVELS=16,32,64,128,256,512" -e "PIPELINE_CONCURRENCY_LEVELS=256,1024,4096,16384" -e "DATABASE=[database you want to verify; this env var *can* be ignored]" -e "PORT=[the exposed port]" -e "TEST_TYPE=[the test type you want to verify]" -e "ENDPOINT=[the relative URL]" tfb.verifier
- Mike Smith - Initial work - msmith
This project is licensed under the BSD-3-Clause License - see the LICENSE.md file for details