Abstract
Integration tests for the Monero node chart.
Integration Tests#
Usage#
Run the tests.
helm test monero
Test Suites#
This provides the following suites.
Test Ports#
- apiVersion
Integration Tests
Test the deployed service ports.
apiVersion: v1 kind: Pod metadata: name: monero-ports-test annotations: "helm.sh/hook": test "helm.sh/hook-delete-policy": hook-succeeded spec: containers: - name: netcat image: busybox:1.31.1 command: ["/bin/sh", "-c"] args: - > nc -zv monero.monero.svc.cluster.local 18080 && echo "Port 18080 is open" || echo "Port 18080 is closed"; nc -zv monero.monero.svc.cluster.local 18081 && echo "Port 18081 is open" || echo "Port 18081 is closed"; # Optionally you can add a restart policy if needed restartPolicy: Never
Source: templates/tests/test_ports.yaml