summaryrefslogtreecommitdiffstats
path: root/kud/tests/qat.sh
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-03-24 16:02:08 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-05-05 16:50:07 -0700
commitbe23566cec4b5571178a930a5a16d22be9dd7b93 (patch)
tree7092e4417be80469c8b9de14400500e83503e1f2 /kud/tests/qat.sh
parent996bd19026a18aac190f76bd137de27a3be6d200 (diff)
Add qat addon helm chart
This chart contains the upstream qat plugin from intel-device-plugins-for-kubernetes together with a qat driver installer. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I3467ba204276999dac4087bdf68ac0d4439861ad
Diffstat (limited to 'kud/tests/qat.sh')
-rwxr-xr-xkud/tests/qat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/qat.sh b/kud/tests/qat.sh
index 8365f700..11fb6ca0 100755
--- a/kud/tests/qat.sh
+++ b/kud/tests/qat.sh
@@ -10,7 +10,7 @@
set -o pipefail
-qat_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select(.status.capacity."qat.intel.com/cy2_dc2">="1") | .metadata.name')
+qat_capable_nodes=$(kubectl get nodes -o json | jq -r '.items[] | select((.status.capacity."qat.intel.com/cy2_dc2"|tonumber)>=1) | .metadata.name')
if [ -z "$qat_capable_nodes" ]; then
echo "This test case cannot run. QAT device unavailable."
QAT_ENABLED=False