Skip to content

Commit

Permalink
fix: broken tests [run-int-tests]
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Sep 12, 2024
1 parent 13d1e47 commit a625215
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion integration_tests/automatic_setup_compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/automatic_setup_microk8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a625215

Please sign in to comment.