Commit de9e3e8
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)
(cherry picked from commit a8bf8cd)1 parent ca25eb9 commit de9e3e8
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 | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
1518 | 1519 | | |
1519 | 1520 | | |
1520 | | - | |
| 1521 | + | |
1521 | 1522 | | |
1522 | 1523 | | |
1523 | 1524 | | |
| |||
1530 | 1531 | | |
1531 | 1532 | | |
1532 | 1533 | | |
| 1534 | + | |
1533 | 1535 | | |
1534 | 1536 | | |
1535 | 1537 | | |
| |||
1696 | 1698 | | |
1697 | 1699 | | |
1698 | 1700 | | |
1699 | | - | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
1700 | 1704 | | |
1701 | 1705 | | |
1702 | 1706 | | |
| |||
0 commit comments