From 52df4979331d5926c540cad99b2f0673aab2bac8 Mon Sep 17 00:00:00 2001 From: dbrennand <52419383+dbrennand@users.noreply.github.com> Date: Tue, 4 Jun 2024 08:06:23 +0100 Subject: [PATCH] refactor: test sequence order --- molecule/absent/molecule.yml | 4 +++- molecule/default/molecule.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/molecule/absent/molecule.yml b/molecule/absent/molecule.yml index 364f1b7..1515d34 100644 --- a/molecule/absent/molecule.yml +++ b/molecule/absent/molecule.yml @@ -17,8 +17,9 @@ verifier: scenario: name: absent test_sequence: - - destroy - dependency + - cleanup + - destroy - syntax - create - prepare @@ -27,4 +28,5 @@ scenario: - check - side_effect - verify + - cleanup - destroy diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 869587c..74fe74e 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -17,8 +17,9 @@ verifier: scenario: name: default test_sequence: - - destroy - dependency + - cleanup + - destroy - syntax - create - prepare @@ -27,4 +28,5 @@ scenario: - check - side_effect - verify + - cleanup - destroy