]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
Replace /tmp/cephtest/ with configurable path
authorSam Lang <sam.lang@inktank.com>
Wed, 23 Jan 2013 20:37:39 +0000 (14:37 -0600)
committerSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:23:31 +0000 (08:23 -0600)
commit3eb19c810725b011baacdb8a6f5b172f4720a39a
tree7126901385f03d9f0ba46c253c81b0b10ef16658
parent2f829870e140c87b30e5b7aa3ad237a90dcb2179
Replace /tmp/cephtest/ with configurable path

Teuthology uses /tmp/cephtest/ as the scratch test directory for
a run.  This patch replaces /tmp/cephtest/ everywhere with a
per-run directory: {basedir}/{rundir} where {basedir} is a directory
configured in .teuthology.yaml (/tmp/cephtest if not specified),
and {rundir} is the name of the run, as given in --name.  If no name
is specified, {user}-{timestamp} is used.

To get the old behavior (/tmp/cephtest), set test_path: /tmp/cephtest
in .teuthology.yaml.

This change was modivated by #3782, which requires a test dir that
survives across reboots, but also resolves #3767.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
s3tests.py
swift.py