From 0801d61fc1e7a1ddc9ed9976c56e595cd51412b9 Mon Sep 17 00:00:00 2001 From: Pete Vander Giessen Date: Thu, 17 Aug 2017 20:37:17 +0000 Subject: [PATCH] Added missing cinder cleanup step to snapstack test. Change-Id: Iefcd89318d4f257e03d4bb956f5ddba7d1c71a17 --- tests/snapstack_test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/snapstack_test.py b/tests/snapstack_test.py index 3db0659..cb6c87b 100644 --- a/tests/snapstack_test.py +++ b/tests/snapstack_test.py @@ -24,5 +24,9 @@ class SnapstackTest(unittest.TestCase): ], snap_store=False) - plan = Plan(tests=[cinder]) + cinder_cleanup = Step( + script_loc='./tests/', + scripts=['cinder_cleanup.sh']) + + plan = Plan(tests=[cinder], test_cleanup=[cinder_cleanup]) plan.run()