From: Tom Hromatka Date: Mon, 28 Mar 2022 15:36:46 +0000 (-0600) Subject: ftests: Do not delete/recreate the container on a failed test X-Git-Tag: v3.1.0~308^2~2^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea126bd7a42b302eadcc806ee1354ba3cafdf9c;p=thirdparty%2Flibcgroup.git ftests: Do not delete/recreate the container on a failed test Signed-off-by: Tom Hromatka Reviewed-by: Kamalesh Babulal --- diff --git a/ftests/ftests.py b/ftests/ftests.py index af357a9f..38c6c0b7 100755 --- a/ftests/ftests.py +++ b/ftests/ftests.py @@ -296,11 +296,6 @@ def run_tests(config): failure_cause = e Log.log_debug(e) ret = consts.TEST_FAILED - - # if the test does cause an exception, it may not have - # cleaned up after itself. re-create the container - teardown(config) - setup(config, do_teardown=False) finally: run_time = time.time() - start_time if ret == consts.TEST_PASSED: