Skip to content

Commit c85b811

Browse files
author
Martin Jackson
committed
Update tests
1 parent e4b8505 commit c85b811

5 files changed

+5
-5
lines changed

tests/hub-edge-gitops-vms-industrial-edge-factory.expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
while [ 1 ];
6464
do
6565
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
66-
if [ "$nodes" -ge "1" ]; then
66+
if [ "0$nodes" -ge "1" ]; then
6767
echo "Node is ready, exiting"
6868
exit 0
6969
fi

tests/hub-edge-gitops-vms-industrial-edge-hub.expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
while [ 1 ];
6464
do
6565
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
66-
if [ "$nodes" -ge "1" ]; then
66+
if [ "0$nodes" -ge "1" ]; then
6767
echo "Node is ready, exiting"
6868
exit 0
6969
fi

tests/hub-edge-gitops-vms-medical-diagnosis-hub.expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
while [ 1 ];
6464
do
6565
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
66-
if [ "$nodes" -ge "1" ]; then
66+
if [ "0$nodes" -ge "1" ]; then
6767
echo "Node is ready, exiting"
6868
exit 0
6969
fi

tests/hub-edge-gitops-vms-naked.expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
while [ 1 ];
6464
do
6565
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
66-
if [ "$nodes" -ge "1" ]; then
66+
if [ "0$nodes" -ge "1" ]; then
6767
echo "Node is ready, exiting"
6868
exit 0
6969
fi

tests/hub-edge-gitops-vms-normal.expected.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
while [ 1 ];
6464
do
6565
nodes=$(oc get machineset -n openshift-machine-api -l 'edge-gitops-role=kubevirt-worker' -o jsonpath='{.items[*].status.availableReplicas}')
66-
if [ "$nodes" -ge "1" ]; then
66+
if [ "0$nodes" -ge "1" ]; then
6767
echo "Node is ready, exiting"
6868
exit 0
6969
fi

0 commit comments

Comments
 (0)