Skip to content

Commit

Permalink
update gateway tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Nov 22, 2024
1 parent 3309c1d commit c4c1886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ The gateway tests will not work correctly if the LAN network mismatches.

You can provide your GW IPs via env-vars: `TEST_FIREWALL_GW1` and `TEST_FIREWALL_GW2`

The `route` module will expect the gateways `LAN_GW` and `TEST-GW` to exist.

### Rule interface groups

The gateway tests will not work correctly if the LAN interface mismatches.
Expand Down
4 changes: 2 additions & 2 deletions tests/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
register: opn1
failed_when: >
'data' not in opn1 or
opn1.data | length != 3
opn1.data | length != 4
when: not ansible_check_mode

- name: Cleanup
Expand All @@ -105,4 +105,4 @@
register: opn2
failed_when: >
'data' not in opn2 or
opn2.data | length != 1
opn2.data | length != 2

0 comments on commit c4c1886

Please sign in to comment.