]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/networkd-test.py
test: make transient hostname tests fail verbosely (#4754)
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 28 Nov 2016 11:35:49 +0000 (12:35 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 28 Nov 2016 11:35:49 +0000 (14:35 +0300)
commitfd0cec03668356f283eb6b4e676f46b0c2c30337
tree75a061b91b3c90ba547d719e4c39e699fd1b202c
parentd112eae7da77899be245ab52aa1747d4675549f1
test: make transient hostname tests fail verbosely (#4754)

This test fails sometimes but it is hard to reproduce, so we need more
information what happens. Set journal log level to "debug" for the entirety of
networkd-test.py, and show networkd's and hostnamed's journals and the DHCP
server log on failure of the two test_transient_hostname* tests. Also sync the
journal before querying it to get more precise output.

This should help with tracking down issue #4753.
test/networkd-test.py