e2e-tests/

directory
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: Apache-2.0

README

PBM tests

Run tests

Run all tests

$ MONGODB_VERSION=4.2 ./run-all

MONGODB_VERSION is a PSMDB version (e.g. 4.0/4.2/4.4). Default is 4.2

./run-all would run all tests both on a sharded cluster and a non-sharded replica set.

You might whant to run some tests separately:
  • ./run-new-cluster - restore on a blank new cluster
  • ./run-rs - general and consistency tests on a non-sharded replicaset
  • ./run-sharded - general and consistency tests on a sharded clusters

*MONGODB_VERSION applies as for the ./run-all

Start test cluster

To start a tests with running pbm-agent and minio store:

$ MONGODB_VERSION=4.4 ./start-cluster

MONGODB_VERSION is a PSMDB version (e.g. 4.0/4.2/4.4). Default is 4.2

./start-replset - to start a non-sharded replica set.

You need to setup PBM though:

$ docker-compose -f ./docker/docker-compose.yaml exec agent-rs101 pbm config --file=/etc/pbm/minio.yaml

Run pbm commands:

$ docker-compose -f ./docker/docker-compose.yaml exec agent-rs101 pbm list

Directories

Path Synopsis
cmd
pkg
pbm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL