Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 6, 2020
1 parent 8439207 commit b1358fb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ test: &test
- run:
name: test
command: |
docker-compose -f tests/docker-compose.yml pull
docker-compose -f tests/docker-compose.yml up --abort-on-container-exit
docker cp results:/* test-results/
no_output_timeout: 1h
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def sc4s_docker(request, docker_services, docker_ip):
@pytest.fixture(scope="session")
def sc4s_external(request):
ports = {514: 514}
for x in range(4999, 5050):
for x in range(5000, 5050):
ports.update({x: x})

return request.config.getoption('sc4s_host'), ports
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
- SPLUNK_USER=admin
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_HOST=splunk
- SYSLOG_HOST=sc4s
- docke=sc4s
volumes:
- results:/work/test-results

Expand Down
4 changes: 3 additions & 1 deletion tests/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

cd /work
pytest -v \
--splunk_test=external \
--splunk_type=external \
--splunk_password=${SPLUNK_PASSWORD} \
--sc4s_host=sc4s
--splunk_host=splunk
--junitxml=/work/test-results/functional/functional.xml $@

0 comments on commit b1358fb

Please sign in to comment.