| Age | Commit message (Collapse) | Author |
|
|
|
As described and discussed in (LP: #1894619) the behavior of dnsmasq
has changes. After reverting that for a while upstream confirmed
that - at least for the configuration our test uses - this is the
intended and wanted behavior.
Due to that dnsmasq now (Impish) follows upstream and therefore
the test in NM needs to be adapted to tolerate that new behavior.
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
- don't use the old service name in the test, the compatibility alias
has been removed
|
|
|
|
|
|
We are skipping this test as it often randomly fails on IPv6
configurations without any reason as the configuration is working
anyway and the correct addresses get confirmed by
the check_low_level_config() in the end (and there is an even
more thorough checking of the correctness of the addresses).
|
|
- Replaced hard sleep() by longer timeout on check for config data available
- While config data still not available get_ip{4|6}_config() not None but
empty, checking appropriately now
|
|
|
|
|
|
asynchronous processes do not finish.
|
|
|
|
|
|
it may be necessary on ppc64el.
|
|
We call nmclient.deactivate_connection() to terminate connections that the
testsuite sets up, and according to upstream this is not guaranteed to do
anything in particular to the link state. It seems that dnsmasq 2.80 somehow
alters the previous assumption that it would be 'state DOWN', so the
implementation detail we were checking previously no longer holds. The
testsuite does still check that the IPs are removed from the interface, which
is logically what we want anyway. (LP: #1805857)
|
|
By renaming the test to nm.py, it can be called directly with:
python3 -m unittest nm
To make this work, we also need to move required test setup and teardown
code to setUpModule() and tearDownModule() accordingly, and move other
"script" code into the __name__ == '__main__' idiom.
This then allows easier debugging of failing tests by calling unittest
to run a specific test using the usual method. For example:
sudo python3 -m unittest nm.ColdplugWifi.test_open_b_ip6_raonly_no_pe
|