Skip to content

Commit

Permalink
Removed SNMPPollingService dependency from SNMPTestAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
DAQEM committed Nov 6, 2023
1 parent adfa119 commit b075635
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test_snmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
uses: isbang/compose-action@v1.5.1
with:
compose-file: "./docker-compose.yml"
services: |
netmon-snmp-polling-service-snmpd-test
services: netmon-snmp-test-agent

- name: Test SNMP Details
run: dotnet test Tests/Netmon.SNMPPolling.IntegrationTests --logger "console;verbosity=detailed"
File renamed without changes.
File renamed without changes.
9 changes: 3 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,11 @@ services:
network1:
ipv4_address: 192.168.178.6

netmon-snmp-polling-service-snmpd-test:
build: Tests/SNMPPollingService.smpd.Tests
container_name: netmon-snmp-polling-service-snmpd-test
hostname: snmpd-test
netmon-snmp-test-agent:
build: Tests/SNMPTestAgent
container_name: netmon-snmp-test-agent
ports:
- "161:161/udp"
depends_on:
- netmon-snmp-polling-service
networks:
network1:
ipv4_address: 192.168.178.7
Expand Down

0 comments on commit b075635

Please sign in to comment.