mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
feat: refactor testing
This commit is contained in:
parent
937ce15748
commit
9bc2406ff2
7 changed files with 158 additions and 163 deletions
|
|
@ -17,7 +17,7 @@ in {
|
|||
message = "should have group set";
|
||||
assertion = cfg.spec.group == "stable.example.com";
|
||||
}];
|
||||
check = ''
|
||||
testScript = ''
|
||||
$kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}");
|
||||
$kube->succeed("kubectl get crds | grep -i crontabs");
|
||||
$kube->succeed("kubectl get crontabs | grep -i crontab");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue