data model: add TF test #4

Closed
kiara wants to merge 76 commits from data-model-tf-test into main
Showing only changes of commit 6d56de3d57 - Show all commits

View file

@ -49,11 +49,11 @@ in
};
extraTestScript = ''
with subtest("Check the status before deployment"):
hello.fail("hello 1>&2")
${lib.concatStringsSep "\n" (
lib.lists.map (nodeName: ''
with subtest("Check the status before deployment"):
${nodeName}.fail("${nodeName} 1>&2")
with subtest("Run the deployment for ${nodeName}"):
deployer.succeed("""
set -euo pipefail