]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw tests: clean up immediately after the test
authorJosh Durgin <josh.durgin@inktank.com>
Tue, 30 Apr 2013 23:47:34 +0000 (16:47 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 30 Apr 2013 23:47:34 +0000 (16:47 -0700)
commit3c604251d9014dba45f3adbb2008bac16ff6346d
tree7c8ac3ccf0c036fdaccd98398d0e5435c952c948
parent022bd4aa42312b80917169282cbfba655bbad6f1
rgw tests: clean up immediately after the test

There's no need for an explicit cleanup function, so move it back
to where it came from (except in s3roundtrip, which did not have it).

Instead, since these use a nested contextmanager, pass through
and yield to the top-level run_tasks after the nested
contextmanager has finished (and thus run all the cleanup steps
in the subtasks for this test).

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
s3tests.py
swift.py