df088977ed
directory of a failed feature with `_failed' at the end. * debian/tests/acceptance: Dump logs for failed features.
9 lines
417 B
Diff
9 lines
417 B
Diff
--- ./features/environment.py_ 2018-09-25 13:20:02.659994338 +0200
|
|
+++ ./features/environment.py 2018-09-25 13:32:35.455221988 +0200
|
|
@@ -813,3 +813,5 @@
|
|
context.pctl.stop_all()
|
|
shutil.rmtree(os.path.join(context.pctl.patroni_path, 'data'))
|
|
context.dcs_ctl.cleanup_service_tree()
|
|
+ if feature.status == 'failed':
|
|
+ shutil.copytree(context.pctl.output_dir, context.pctl.output_dir + "_failed")
|