fix(tests/module): fix broken test

This commit is contained in:
Jaka Hudoklin 2019-03-11 20:51:57 +01:00
parent ae8b5f9667
commit 2d0121bcdf
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95

View file

@ -22,7 +22,7 @@ in {
assertion = (head config.docker.export) == images.nginx; assertion = (head config.docker.export) == images.nginx;
}]; }];
testScript = '' testScript = ''
$kube->waitUntilSucceeds("docker load < ${image}"); $kube->waitUntilSucceeds("docker load < ${images.nginx}");
$kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}"); $kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}");
$kube->succeed("kubectl get deployment -n test | grep -i test-nginx"); $kube->succeed("kubectl get deployment -n test | grep -i test-nginx");