Commit a8bf8cd
committed
Fix TestOVNMechanismDriver ipv6 tests
- test_update_subnet_dhcp_options_in_ovn_ipv6_not_change
- test_enable_subnet_dhcp_options_in_ovn_ipv6
This tests will fail if host where unit tests has ipv6 dns_servers
configured. This patch mocks get_system_dns_servers to avoid tests
to look at the host configuration.
Closes-Bug: #2056778
Change-Id: I2e703ab4b63c90d7a14f0dc41d37b0a98163bce0
(cherry picked from commit 2a196fe)1 parent 5ffec5d commit a8bf8cd
File tree
1 file changed
+6
-2
lines changed- neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1531 | 1531 | | |
1532 | 1532 | | |
1533 | 1533 | | |
| 1534 | + | |
1534 | 1535 | | |
1535 | 1536 | | |
1536 | | - | |
| 1537 | + | |
1537 | 1538 | | |
1538 | 1539 | | |
1539 | 1540 | | |
| |||
1546 | 1547 | | |
1547 | 1548 | | |
1548 | 1549 | | |
| 1550 | + | |
1549 | 1551 | | |
1550 | 1552 | | |
1551 | 1553 | | |
| |||
1712 | 1714 | | |
1713 | 1715 | | |
1714 | 1716 | | |
1715 | | - | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
1716 | 1720 | | |
1717 | 1721 | | |
1718 | 1722 | | |
| |||
0 commit comments