diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-05-05 23:14:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-05 23:14:30 +0000 |
commit | 82f24ca5bb7c18fb9ed495261285f45a421c5634 (patch) | |
tree | f1c1a8e879a40f2385c68f4aba1813388fa1f36e /kud/tests/sriov.sh | |
parent | e6fbe6c0d75098e29143b4f8e4b21207c0ec51a3 (diff) | |
parent | 7fc924c09cf751c82fdd532ab0d3799395a1893b (diff) |
Merge "Add sriov-network addon helm chart"
Diffstat (limited to 'kud/tests/sriov.sh')
-rwxr-xr-x | kud/tests/sriov.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/sriov.sh b/kud/tests/sriov.sh index e617ea62..7aa97f0c 100755 --- a/kud/tests/sriov.sh +++ b/kud/tests/sriov.sh @@ -10,7 +10,7 @@ set -o pipefail -sriov_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select(.status.capacity."intel.com/intel_sriov_700">="2") | .metadata.name') +sriov_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select((.status.capacity."intel.com/intel_sriov_700"|tonumber)>=2) | .metadata.name') if [ -z "$sriov_capable_nodes" ]; then echo "SRIOV test case cannot run on the cluster." exit 0 |