Gris Ge 924e62d55e test: Improve link monitor ip_monitor_assert_stable_link_up
Current thread data sharing and function decorator is hard to understand,
Changed the ip monitor output to a temp file and check it after test finished.

For ethernet or veth, `nmcli c down` will not cause link down, hence
`ip_monitor_assert_stable_link_up()` changed to fail if specified
interface is ethernet or veth.

Changed test case `test_change_mtu_with_stable_link_up` to use linux
bridge instead of veth, so it will fails when nmstate is using normal
connection activation instead of reapply.

Changed test case in `static_ip_address_test.py` to use dummy interface
for link stability tests.

Signed-off-by: Gris Ge <fge@redhat.com>
2024-11-18 22:54:44 +08:00
..
2019-12-12 15:42:32 +01:00
2021-06-18 10:17:14 +02:00
2023-07-03 10:48:00 +02:00
2024-09-04 16:18:10 +08:00
2022-11-15 15:56:11 +08:00