Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 5, 2020
1 parent e79a7fc commit a07af01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def splunk_external(request):
@pytest.fixture(scope="session")
def sc4s_docker(request, docker_services, docker_ip):
ports = { 514: docker_services.port_for("sc4s", 514) }
for x in range(4999, 5050):
ports.update({ x: docker_services.port_for("splunk", 8089)})
for x in range(5000, 5050):
ports.update({ x: docker_services.port_for("sc4s", x)})

return docker_ip, ports

Expand Down
8 changes: 4 additions & 4 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ version: "3.7"
services:

sc4s:
build:
context: ../package
image: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:sc4s-${SYSLOG}-${CIRCLE_SHA1}
#When this is enabled test_common will fail
# command: -det
Expand All @@ -31,9 +33,6 @@ services:
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN}
- SC4S_SOURCE_TLS_ENABLE=no
- SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=no
# - SC4S_LISTEN_DEFAULT_TCP_PORT=514
# - SC4S_LISTEN_DEFAULT_UDP_PORT=514
# - SC4S_LISTEN_DEFAULT_TLS_PORT=6514
- SC4S_LISTEN_JUNIPER_NETSCREEN_TCP_PORT=5000
- SC4S_LISTEN_CISCO_ASA_TCP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_TCP_PORT=5002
Expand All @@ -42,10 +41,11 @@ services:
- SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005
- SC4S_LISTEN_PFSENSE_TCP_PORT=5006
- SC4S_ARCHIVE_GLOBAL=no
# - SC4S_SOURCE_STORE_RAWMSG=yes
volumes:
- ./tls:/opt/syslog-ng/tls
splunk:
build:
context: ../splunk
image: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SPLUNK}-${CIRCLE_SHA1}

ports:
Expand Down

0 comments on commit a07af01

Please sign in to comment.