From a6252158bd3c75909b38593f6860b3faf5b04062 Mon Sep 17 00:00:00 2001 From: Ilya Kheifets Date: Thu, 12 Sep 2024 09:34:17 +0200 Subject: [PATCH] fix: broken tests [run-int-tests] Signed-off-by: Ilya Kheifets --- .github/workflows/ci-main.yaml | 4 ++-- integration_tests/automatic_setup_compose.sh | 2 +- integration_tests/automatic_setup_microk8s.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index 143718d88..7eedf977c 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -148,7 +148,7 @@ jobs: - name: run tests working-directory: integration_tests run: | - poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="microk8s" + poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="microk8s" -k "trap" test-integration-compose: name: Run integration tests in docker compose deployment @@ -181,4 +181,4 @@ jobs: - name: run tests working-directory: integration_tests run: | - poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="docker-compose" + poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="docker-compose" -k "trap" diff --git a/integration_tests/automatic_setup_compose.sh b/integration_tests/automatic_setup_compose.sh index 2a795e776..0bc47fcfc 100755 --- a/integration_tests/automatic_setup_compose.sh +++ b/integration_tests/automatic_setup_compose.sh @@ -44,7 +44,7 @@ deploy_poetry() { poetry install poetry add --group dev splunk-sdk poetry add --group dev splunklib - poetry add --group dev pysnmp + poetry add --group dev pysnmplib } wait_for_containers_to_be_up() { diff --git a/integration_tests/automatic_setup_microk8s.sh b/integration_tests/automatic_setup_microk8s.sh index 1102b1c3c..50bbc8e88 100755 --- a/integration_tests/automatic_setup_microk8s.sh +++ b/integration_tests/automatic_setup_microk8s.sh @@ -44,7 +44,7 @@ deploy_poetry() { poetry install poetry add --group dev splunk-sdk poetry add --group dev splunklib - poetry add --group dev pysnmp + poetry add --group dev pysnmplib } wait_for_pod_initialization() {