From 5cabd6603008b92f87a2d8a98c2d8dc2c5349bec Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Fri, 18 Jul 2025 13:21:00 +0200 Subject: [PATCH] Add test for native library support --- tests/templates/kuttl/smoke/52-assert.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/templates/kuttl/smoke/52-assert.yaml diff --git a/tests/templates/kuttl/smoke/52-assert.yaml b/tests/templates/kuttl/smoke/52-assert.yaml new file mode 100644 index 00000000..a82707c9 --- /dev/null +++ b/tests/templates/kuttl/smoke/52-assert.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: kuttl.dev/v1beta1 +kind: TestAssert +commands: + - script: kubectl exec -n $NAMESPACE hdfs-namenode-default-0 -- hadoop checknative | grep "hadoop:.*true" + - script: kubectl exec -n $NAMESPACE hdfs-namenode-default-0 -- hadoop checknative | grep "zlib:.*true" + - script: kubectl exec -n $NAMESPACE hdfs-namenode-default-0 -- hadoop checknative | grep "openssl:.*true"