fix tests

This commit is contained in:
David Arnold 2021-04-28 14:36:16 -05:00
parent cdddbc3f7d
commit 52c6472e90
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
3 changed files with 13 additions and 11 deletions

View file

@ -192,11 +192,13 @@ let
networking.primaryIPAddress = mkForce "192.168.1.1";
};
testScript = ''
startAll;
skipLint = true;
$kube->waitForUnit('k3s.service');
$kube->waitUntilSucceeds("kubectl get node kube | grep -w Ready");
testScript = ''
start_all()
kube.wait_for_unit('k3s.service')
kube.wait_until_succeeds("kubectl get node kube | grep -w Ready")
${testScript}
'';