summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-08-08 18:29:01 -0400
committerAtin Mukherjee <amukherj@redhat.com>2018-08-09 14:42:15 +0000
commit69c557ad8468f9e32090cbef78512f82a98f7043 (patch)
tree9a7c6c3736b6205d93afb7c6a67e4e745a54d9e2 /tests/volume.rc
parent22d5540f5618ea0726a5eab1252163c48124cc06 (diff)
tests: Add ability to preserve older tarball for retried tests
When a test is retried, the cleanup directives overwrite the older tarball with the latest one, thus losing the logs from the failed run. This patch changes run-tests.sh to rename the older tarball when retrying a test, thus preserving the same. The tarball is renamed using a time stamp and optionally a trailing sequence number, in case the test fails within the very second. Although the sequence # is not strictly required as we retry only once, it provides a defence for any future enhancements to the same. Fixes: bz#1614062 Change-Id: I9afe486b0b6f6a26f2ad0642e38bc0ba15b3ecc9 Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'tests/volume.rc')
0 files changed, 0 insertions, 0 deletions