From 1b34a925ad437900f37f10f4501a298f8d06f7e9 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 21 Jun 2018 00:15:54 -0500 Subject: [PATCH] Correct test register This change corrects the name of a register used to cleanup containers when running tests multiple times. While this register would not harm a normal run, it does cause issues when re-running the tests due to the fact the variable is used to determine if a container is removed and it is undefined at this point. Change-Id: I4e0c07c4047ccdde3becfb7345d2564bef0489da Signed-off-by: Kevin Carter --- tests/test-nspawn-containers-create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-nspawn-containers-create.yml b/tests/test-nspawn-containers-create.yml index 69f808f..1b7e18a 100644 --- a/tests/test-nspawn-containers-create.yml +++ b/tests/test-nspawn-containers-create.yml @@ -41,7 +41,7 @@ register: machinectl_poweroff retries: 3 delay: 2 - until: machinectl_remove is success + until: machinectl_poweroff is success delegate_to: "{{ physical_host }}" failed_when: false when: