test/

directory
v0.0.0-...-3cb0048 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2017 License: Apache-2.0

README

How to run

To run all tests, including the Go tests, run from repository root:

sudo -E make check

To run only the integration tests, run from the test directory:

sudo -E ./main.sh

Environment variables

Name Default Description
APOLLO_BACKEND dir What backend to test against (btrfs, ceph, dir, lvm, zfs, or random)
APOLLO_CEPH_CLUSTER ceph The name of the ceph cluster to create osd pools in. Only used if "${APOLLO_BACKEND}" = "ceph".
APOLLO_CONCURRENT 0 Run concurrency tests, very CPU intensive
APOLLO_DEBUG 0 Run apollo, mercury and the shell in debug mode (very verbose)
APOLLO_INSPECT 0 Don't teardown the test environment on failure
APOLLO_LOGS "" Path to a directory to copy all the APOLLO logs to
APOLLO_OFFLINE 0 Skip anything that requires network access
APOLLO_TEST_IMAGE "" (busybox test image) Path to an image tarball to use instead of the default busybox image
APOLLO_TMPFS 0 Sets up a tmpfs for the whole testsuite to run on (fast but needs memory)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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