Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@filipecosta90
Copy link
Collaborator

This PR clarifies how to test memtier_benchmark locally and uses the exact same script for CI testing.

Details on how to to test memtier:

The project includes a basic set of integration tests.

Integration tests

Integration tests are based on RLTest, and specific setup parameters can be provided
to configure tests and topologies (OSS standalone and OSS cluster). By default the tests will be ran for all common commands, and with OSS standalone setup.

To run all integration tests in a Python virtualenv, follow these steps:

$ mkdir -p .env
$ virtualenv .env
$ source .env/bin/activate
$ pip install -r tests/test_requirements.txt
$ ./tests/run_tests.sh

To understand what test options are available simply run:

$ ./tests/run_tests.sh --help

@filipecosta90 filipecosta90 requested a review from yossigo April 21, 2022 09:25
@filipecosta90 filipecosta90 merged commit 422252c into master Apr 21, 2022
@filipecosta90 filipecosta90 deleted the testing.infra branch April 21, 2022 09:54
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.

3 participants